REDIRECT - whilst keeping the original page open |
3/21/2008 11:35:22 AM |
PHPRunner General questions | |
J
jack knowles author
Hi Forum, |
|
S
|
spintz 3/21/2008 |
You don't want to redirect then. You might want to do a popup page with the error. But redirect, by definition, means to change the current page the user is viewing. |
J
|
jack knowles author 3/21/2008 |
Thank you for your reply. |
J
|
Jane 3/24/2008 |
Hi, if (...) { ?><script> alert('error message'); </script><?php } |
J
|
jack knowles author 3/25/2008 |
Thanks Jane, |
J
|
Jane 3/25/2008 |
Hi, if (...) { ?><script> alert('error message'); </script><?php } return false; |
J
|
jack knowles author 3/25/2008 |
Hi Jane, |
J
|
Jane 3/26/2008 |
Hi, ?><script> window.open("error.htm",null,"height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"); </script><?php
|
J
|
jack knowles author 3/26/2008 |
Hi Jane, |
J
|
Jane 3/26/2008 |
Please make sure error.htm file exists in the output directory. |