plodos Posted December 28, 2008 Share Posted December 28, 2008 URL is coming from header("Location:".$_SERVER['HTTP_REFERER']."?wrong_code9=true"); http://aaaa.com/add_new_reviewer.php?wrong_code9=true add_new_reviewer_save.php <?php if(isset($_REQUEST['wrong_code9'])) { unset($_REQUEST['wrong_code9']); header("Location:".$_SERVER['HTTP_REFERER']."&wrong_code=true"); } else { header("Location:".$_SERVER['HTTP_REFERER']."?wrong_code=true"); } ?> URL is coming than if(isset($_REQUEST['wrong_code9'])) if that is true unset($_REQUEST['wrong_code9']); than activate wrong_code=true but unset is not working, WHY ? Quote Link to comment Share on other sites More sharing options...
plodos Posted December 28, 2008 Author Share Posted December 28, 2008 I changed the location of unset($_REQUEST['wrong_code9']); and it is solved Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.