Re: FW: Response.redirect!!!

From: Date: Sat, 23 Feb 2002 06:54:44 +0000
Subject: Re: FW: Response.redirect!!!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-80319@lists.php.net to get a copy of this message
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: $url"); } Then you can simply do: redirect("http://www.php.net"); -Rasmus On Fri, 22 Feb 2002, Rodent of Unusual Size wrote: > 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 <tomas.marklund@datortek.orebro.se> ----- > > From: "Tomas Marklund" <tomas.marklund@datortek.orebro.se> > To: <human-response@Apache.Org> > Subject: Response.redirect!!! > Date: Thu, 21 Feb 2002 15:19:53 +0100 > Thread-Topic: Response.redirect!!! > Thread-Index: AcG64tQ8eiZG89jOSfOaHiq6BNlW2Q== > > Why can't you program the most wanting function of them all, and the > only thing that is better in ASP than PHP!! > THE Response.redirect command!!!!!!!!!!!!!!!!!?????????????????++ > > The header is to difficult to use!!! > > /Tomas Marklund > > ----- End forwarded message ----- > > -- > #ken P-)} > > Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/ > Author, developer, opinionist http://Apache-Server.Com/ > > "Millennium hand and shrimp!" > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#80319) next »