|
Posted by Rosen on 03/31/05 12:31
Hi,
I have this code :
========
page1.php:
<?
$nfo["fu"]="12";
session_start();
session_register(nfo);
$sn=session_name();
$nn=session_id() ;
$web="page2.php?lang=en";
$web.="&$sn=$nn";
header("Location: $web");
?>
===============
page2.php:
<?
session_start();
global $nfo;
$uss=$nfo["fu"];
echo $uss; //// HERE $uss is empty!
?>
This script works on several linux servers, but on one doesn't work (
variable $uss in page2.php has no value ).
I think this may be problem with PHP configuration on this server ( I don't
have root password for this server ).
Have someone idea where may be the problem ?
Thanks in advance!
Rosen
Navigation:
[Reply to this message]
|