[PHP] Re: Redirect function

2001-12-10 Thread Hugh Bothwell
Steve Osborne [EMAIL PROTECTED] wrote in message 000901c181db$bfca1f40$[EMAIL PROTECTED]">news:000901c181db$bfca1f40$[EMAIL PROTECTED]... Is there a function or command in php that will redirect a user to another page, similar to Response.Redirect(URL) in ASP? header(Location:

[PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Roko -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Brian Clark
* Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Just out of curiosity, what's wrong with header('Location ... ');? -- -Brian Clark --

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
Brian Clark [EMAIL PROTECTED] wrote in message 20011207082759.GB8750@ganymede">news:20011207082759.GB8750@ganymede... * Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Miles Thompson
RFC 2616 is your friend 14.30 Location The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. For 201 (Created) responses, the Location is that of the new resource