Lambert, Patrick wrote:
So it sounds like you need to examine the headers of the response (which
sounds like it is a redirect)?
Try PEAR's HTTP_Request (

More specifically, you need a HEAD request:

For a Redirect, you should get something like this HEAD request (Perl,

HEAD --> 302 Found
HEAD --> 200 OK
Connection: close
Date: Wed, 21 Apr 2004 18:37:36 GMT
Accept-Ranges: bytes
ETag: "8b7fe3-444f-40869730"
Server: Apache/1.3.20a (NETWARE) mod_jk/1.1.0
Content-Language: en
Content-Type: text/html; charset=ISO-8859-1
Last-Modified: Wed, 21 Apr 2004 15:45:52 GMT
Client-Date: Wed, 21 Apr 2004 18:38:13 GMT
Client-Response-Num: 1

You will have to extract the Redirect part...

C. Daniel Chase                                [EMAIL PROTECTED]
Web Development Specialist                        (423) 425-4009
The University of Tennessee at Chattanooga

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to