Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: PHP and SOCKS


Message #1 by "Will Briggs" <wrbriggs@u...> on Wed, 9 May 2001 12:57:12
I'm writing an application that requires me to ftp a file outside of my 
company's firewall.  We use a SOCKS server to connect to the outside world. 
Unfortunately, I cannot seem to get PHP to make an FTP connection via this 
server.  Most other programs require that an environment variable called 
SOCKS_SERVER be set; if I set this in PHP using putenv, there is no change.
Right now, I end up calling an external expect script to do the work, but I 
would really prefer to do it all within my script.

Any help is much appreciated!

Thanks,
Will

  Return to Index