ID: 20171 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.3 New Comment:
hint: http://php.net/outcontrol > Would be nice with a wait (seconds) command too, so we are sure that the > user get some time to see the result, before being redirected. or use meta tags instead of headers ... not really a php issue at all. Previous Comments: ------------------------------------------------------------------------ [2002-10-30 08:59:04] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. ------------------------------------------------------------------------ [2002-10-30 08:50:16] [EMAIL PROTECTED] Please make a command that redirects a user in the middle of code. Similar to the Response.Redirect on ASP. Why? Because header("Location:") cannot redirect unless it's BEFORE the <html> tag. And I want the following: <html> Making new DATABASE record..<br> <? SQL code goes here... INSERT INTO ... If error die( redirect("error.html") ); else redirect("index.html") ); ?> Would be nice with a wait (seconds) command too, so we are sure that the user get some time to see the result, before being redirected. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20171&edit=1
