Sent to the Apache contact address. I told him I was forwarding
it, but that he might not get a reply if his message was considered
too rude.. :-)
- Forwarded message from Tomas Marklund [EMAIL PROTECTED] -
From: Tomas Marklund [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:
Maybe suggest to our friend that he learn some HTTP. It sounds to me like
he just wants to do a protocol-level redirect.
Of course, it's a bit difficult to discern anything useful, but that's
what I got out of it. Of course, PHP already allows this, but it's not
disguised as a proprietary
Response.redirect http://www.php.net;
vs.
Header(Location: http://www.php.net;)
They are the exact same number of chars. Why in the world is one so much
easier than the other?
If you want to make it simpler, just wrap it. For example:
function redirect($url) {
Header(Location: