[EMAIL PROTECTED] wrote:
> Hi list,
>
> I am trying to create a link checker that would look for broken URLs
> with help of the following code"
>
> $handle = @fopen("http://www.circle.am", "r");
> if ($handle):
> print "OK";
> else:
> print "Error";
> endif;
>
> The problem is that I want to check if the links are accessible under
> certain proxy, so is there any way to tell the script to open the URL
> under a proxy?
the curl extension is [probably] what your looking for:
http://php.net/curl
check out the user-notes, there is an example in there for specifying
a request via a given proxy.
>
> Thank you in advance.
>
> Ed
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php