Re: [PHP] Open location automatically after checking

2001-02-20 Thread Edith Lai
I tried this but get error message. It says that i've opened a header and can't open another things like that. Is this the only way to do that? For your reference, my php file looks like this: ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message 01e801c09ac4$9f0a6520$[EMAIL PROTECTED]">new

Re: [PHP] Open location automatically after checking

2001-02-19 Thread Richard Lynch
You could do: header("Location: page2.php"); But you may need to pass some variables such as: header("Location: page2.php?SESSID=$SESSID"); You'd probably be better of having the error checking at the top of the second page and sending them *back* to the first page if they got it wrong. -- Vi