You'll have to use the CURL library:

http://ca.php.net/manual/en/ref.curl.php

Cheers,


Marco

On Sun, 2002-10-13 at 16:21, Adrian Slusarczyk wrote:
> Hi,
> 
> I  have the following problem: In a function, I want to verify whether a
> file exists before I go on, and if it doesn´t, return false and stop right
> there. So I tried
> 
> if(!file_exists($my_file)) {
> return false;
> exit;
> }
> 
> But since $my_file is a URL, it doesn´t work. Does anybody know how to do
> this so it works with URLs, i.e. w/o using file_exists() ?
> 
> Thx!
> 
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to