ok, I'll try with socket.

Thanks

> no, sockets are not a bad solution at all. They are just as fast.
>
> And plus fsockopen has more functionality such as timing out, result
> messages, mess_num etc... what fopen doesn't have.
>
> I think fsockopen is better for this job.
>
>
> Sincerely,
>
>  Maxim Maletsky
>  Founder, Chief Developer
>  PHPBeginner.com (Where PHP Begins)
>  [EMAIL PROTECTED]
>  www.phpbeginner.com
>
>
>
>
> -----Original Message-----
> From: Black Dragon [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 27, 2001 6:41 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] check if an url is valid
>
>
> Hi!
>
> can you tell me how can I check if a remote files exists?
>
> I've tried with fopen, but I've a warning on STDOUT if file doesn't
exists.
> I wouldn't redirect the STDERR to solve this problem.
>
> I could use fsockopen, but I feel that this is a bad solution.
>
> Can you tell me something that is easy?
>
> I would a function that return true/false if an url is/not is valid;
without
> error to browser
>
> Thanks
>
>
>
>
> --
> 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]
>
> --
> 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]
>



-- 
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