Re: [PHP] redirecting to a success page

2004-11-22 Thread Richard Davey
Hello Judson, Monday, November 22, 2004, 2:13:13 PM, you wrote: JV> The original script, created by Dreamweaver, gives an error that says JV> header has already been sent. I tried different options to no avail. I JV> realize this script is now seriously hosed but thought I would include JV> it an

Re: [PHP] redirecting to a success page

2004-11-22 Thread Robby Russell
On Mon, 2004-11-22 at 09:13 -0500, Judson Vaughn wrote: > Group, > > I have a create_login.php page, which works (it inserts data into the > database), but I need for the script once executed to redirect to a > success.php page. > > It doesn't do this and I can't figure out how to do it. I've i

RE: [PHP] redirecting to a success page

2004-11-22 Thread Jay Blanchard
[snip] I have a create_login.php page, which works (it inserts data into the database), but I need for the script once executed to redirect to a success.php page. [/snip] http://www.php.net/header header("Location: success.php"); exit(); -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] redirecting to a success page

2004-11-22 Thread Randy Rinehart
You can send a header to redirect like below. Or you can print out some javascript location.href='successpage.php'; -randy rinehart - Original Message - From: "Judson Vaughn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 8:13 AM Subject: [PHP] redirecti