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