Anyone know how I would use the fsocketconnect command to connect to a proxy server and use the get_file_contents function? If you can can you provide an example here?
Thank you.
The views expressed on this page by users and staff are their own, not those of NamePros.
This should save you some time. When you connect in php through a proxy you first have to connect to the proxy and then send a http header with the correct get request. If you don't want to use the class just let me know more details about what you are trying to do and I'll post some code.