|
From: popescu g. <pop...@ya...> - 2009-01-06 19:13:53
|
Hello ! When i get the http://www.google.com the simple test follows the redirect and gives me the http://wwww.google.ro. The situation changes when i try the same thing using a proxy.<?php require_once('simpletest/browser.php'); $browser = &new SimpleBrowser();$browser->useProxy('http://91.122.205.235:37330','',''); $page = $browser->get('http://www.google.com'); print $page; ?>[Donno if the proxy will still work till u get the change to look over it]Bottom Line : I can't get it to follow a redirect when i use a proxy. |