Jump to content

[SOLVED] unset($_REQUEST['wrong_code9']); unset is not working WHY?


plodos

Recommended Posts

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 ?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.