Thanks all of you. I'm sure one of these will work!!
--
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]
use fsockopen
http://www.php.net/manual/en/function.fsockopen.php to \"talk\" to the remote host.
>Is there a way for PHP to attempt to open a URL and return > the HTTP response
>header?
> For example, I want to make a PHP page which will redirect a visitor to a
> mirror site if it encounters
see my message Re: URL checking.
i just posted a few curl functions that do exactly what you want to.
phil.
--
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:
3 matches
Mail list logo