ScotlandPHP

Voting

Please answer this simple SPAM challenge: min(two, five)?
(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