As I try to retrieve the variable status
from the $_REQUEST[]
array I set in the first script (and then do a redirect), I see nothing but a warning Undefined index: status
. Why is that ?
<?php
$_REQUEST['status'] = "success";
$rd_header = "location: action_script.php";
header($rd_header);
?>
action script.php
<?php
echo "Unpacking the request variable : {$_REQUEST['status']}";