Page 1 of 1

not passing my variable

Posted: Thu Jun 05, 2003 6:46 am
by jarow
I have a session variable that looks like this.

Code: Select all

<?php
session_start();
header("Cache-control: private");
$_SESSION['user'] = $_REQUEST['user'];
$user=$_REQUEST['user'];
?>
When I set this variable as follows I get a response that says it can“t find the _update_confirm.php. In other words it is not reading the $user variable I have put in front of it.

Code: Select all

<?php
$updateGoTo = $user."_update_confirm.php?update=true&user=".$user;
?>
Any ideas of what I am doing wrong?

Posted: Thu Jun 05, 2003 7:32 am
by twigletmac
Is all of this in one page?

Have you checked what's in $_REQUEST?

Mac