Re: [PHP] open php from

2003-08-29 Thread Jasper
Alvaro Martinez wrote: Hi! I'm a beginner. I want to redirect from one php page to another php page and I dont know what method to use. How can I do it? Thanks http://php.net/header says http://www.php.net/";); /* Redirects the browser to the php website */ exit;/* make

Re: [PHP] open php from

2003-08-29 Thread Chris Shiflett
--- DvDmanDT <[EMAIL PROTECTED]> wrote: > Yes, I's said so... Although, I use "Location: newfile.php" in lots > of places and it sure works even if it's the wrong way to do it... > Although, it's not tested with very many browsers so I guess not > everyone can view it (the new page)... Faced with

Re: [PHP] open php from

2003-08-29 Thread DvDmanDT
Yes, I's said so... Although, I use "Location: newfile.php" in lots of places and it sure works even if it's the wrong way to do it... Although, it's not tested with very many browsers so I guess not everyone can view it (the new page)... -- // DvDmanDT MSN: [EMAIL PROTECTED] Mail: [EMAIL PROTECT

Re: [PHP] open php from

2003-08-29 Thread Alvaro Martinez
Thank you to you them all "Curt Zirzow" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] * Thus wrote Jonathan Pitcher ([EMAIL PROTECTED]): > Alvaro, > > To redirect use the header function (http://www.php.net/header) > > The call would be something like: > > header("Location: ano

Re: [PHP] open php from

2003-08-29 Thread Curt Zirzow
* Thus wrote Jonathan Pitcher ([EMAIL PROTECTED]): > Alvaro, > > To redirect use the header function (http://www.php.net/header) > > The call would be something like: > > header("Location: anotherpage.php"); I'd like to add that the location MUST be an absolute url. ie: Location: http://host.

Re: [PHP] open php from

2003-08-29 Thread Jonathan Pitcher
Alvaro, To redirect use the header function (http://www.php.net/header) The call would be something like: header("Location: anotherpage.php"); remember that to use this command nothing can have been printed to the browser before hand. HTH Jonathan On Friday, August 29, 2003, at 11:13 AM, A

Re: [PHP] open php from

2003-08-29 Thread Chris Sherwood
header('Location: ' . $newLocation); - Original Message - From: "Alvaro Martinez" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 29, 2003 9:13 AM Subject: [PHP] open php from > Hi! > I'm a beginner. I want to redirect from on

[PHP] open php from

2003-08-29 Thread Alvaro Martinez
Hi! I'm a beginner. I want to redirect from one php page to another php page and I dont know what method to use. How can I do it? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php