Re: [PHP] POST/GET using a proxy server

2003-07-27 Thread Andrew Brampton
ot tried this code, but I think I got it right :) Also please note that this connects to proxys on port 8080, you might need to change that. Oh and I changed the http/1.1 to 1.0 because I find it has less problems :) Hope this works/helps Andrew - Original Message - From: "David Yee"

[PHP] POST/GET using a proxy server

2003-07-27 Thread David Yee
Hi all- how do I modify the following function to work over a proxy server? Thanks for any help. David /* sendToHost * ~~ * Params: * $host - Just the hostname. No http:// or /path/to/file.html portions * $method- get or post, case-insensitive * $pa