Yeeeeeah ... but you have to install the package. Thanks for the thought
though. :) I'd looooooove to ask my admin ... but I know what his answer
is/was/will be/would be :) always is.

Chris Hobbs wrote:

> Looks like you might be able to use the cURL extensions
> <http://www.php.net/manual/en/ref.curl.php> - there's a function called
> curl_getinfo which returns an array which includes http_code - you could
> check the value of that to see whether the file was available (http_code
> == 200), not found (http_code == 404), or whatever
> (<http://www.w3.org/Protocols/HTTP/HTRESP.html>).
>
> Have fun!
>
> jtjohnston wrote:
>
> >Any way of finding out if this exists?
> >
> >http://www.somewhere.com/image.jpg
> >
> >if yes {} else {};
> >
> >


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to