Getting file contents over a proxy |
[eluser]Boris Strahija[/eluser]
This is the situation. I have a list of proxy adresses, and they all require username and password. Now I need to get contents from a URL over those proxies. Choosing a proxy is not a problem, it will be done randomly, but nothing is working so far. It's not really CI related, but it' actually part of a CI app ![]() Here's my code: Code: $authProx = base64_encode("my_username:my_password"); And the error I keep getting: Code: A PHP Error was encountered Any help would be appreciated.
[eluser]pistolPete[/eluser]
Did you try cURL? http://www.higherpass.com/php/tutorials/...Servers/3/
[eluser]Boris Strahija[/eluser]
[quote author="pistolPete" date="1256088696"]Did you try cURL? http://www.higherpass.com/php/tutorials/...Servers/3/[/quote] Not yet, but I will try it out for sure tomorrow ![]() |
Welcome Guest, Not a member yet? Register Sign In |