PHP curl with proxy
November 18th, 2009 read users' comments (3)
Here is a simple PHP code snippet requesting given URL using curl and HTTP proxy server.
$loginpassw = 'login:password'; //your proxy login and password here $proxy_ip = '127.0.0.1'; //proxy IP here $proxy_port = 8080; //proxy port from your proxy list $url = 'http://yahoo.com'; //URL to get $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_HEADER, 0); // no headers in the output curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // output to variable curl_setopt($ch, CURLOPT_PROXYPORT, $proxy_port); curl_setopt($ch, CURLOPT_PROXYTYPE, 'HTTP'); curl_setopt($ch, CURLOPT_PROXY, $proxy_ip); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $loginpassw); $data = curl_exec($ch); curl_close($ch); echo $data;more
Multiple Firefox instances with different proxy settings
November 6th, 2009 read users' comments (2)
Here is how to have several Firefox windows open – each with different proxy settings.
- Close any open Firefox windows. Use ‘Run’ command from windows start menu, type in the box: ‘firefox -P’ and click ‘Ok’ button

- What you see is a Firefox profile manager. Now you can create as many profiles as you need. In this example we created one additional profile called ‘NewProfile’

- To run different profiles at the same time you have to start firefox using this command: ‘firefox -P profilename -no-remote’. Now you can set different proxies for each profile (Firefox proxy settings) and run them simultaneously in separate windows.
Internet Explorer proxy configuration
October 20th, 2009 read users' comment (0)
- Go to Tools -> Internet Options in your Internet Explorer menu.

- Go to Connections tab and click LAN Settings.

- Under Proxy server, click to select the Use a proxy server for your LAN check box and click Advanced button.

- In the HTTP Address box, type in any IP address from the list in your proxybonanza.com account. Your proxy list format is: proxyIP:proxyPort so set the port to what you see after the ‘:’ for particular IP address (for example: 22.33.44.55:1274 – 23.33.44.55 is the proxy IP and proxy port is 1274). Tick the ‘Use the same proxy server for all protocols‘ checkbox, click Ok and you’re ready to go! Internet Explorer will prompt you for login and password when you open your first website with new settings – use your proxybonanza.com login and password.

