Mid-Atlantic Developer Conference - Call for Speakers


Please answer this simple SPAM challenge: max(eight, four)?
(Example: nine)

The Note You're Voting On

sam at bigwig dot net
14 years ago
[ Editor's Note: There is a way to know.  All response headers (from both the final responding server and intermediate redirecters) can be found in $http_response_header or stream_get_meta_data() as described above. ]

If you open an HTTP url and the server issues a Location style redirect, the redirected contents will be read but you can't find out that this has happened.

So if you then parse the returned html and try and rationalise relative URLs you could get it wrong.

<< Back to user notes page

To Top