Hi,
I have a system where i am trying to pass session between two files.
There is a file called "editor.php" and there is a file called "index.php"
when i am in "editor.php" i set certain session variables. Within that "editor.php" i call php's "file" command like this:
but the session does not pass to "index.php" since i am calling a file handler and not doing a HTTP request...is there a way around it or change it so that I can pass session variables to "index.php"?
thanks
ro
I have a system where i am trying to pass session between two files.
There is a file called "editor.php" and there is a file called "index.php"
when i am in "editor.php" i set certain session variables. Within that "editor.php" i call php's "file" command like this:
Code:
$fh = file("index.php");
while($fh as $line)
{
}
thanks
ro