note 26017 added to function.include

From: Date: Tue, 15 Oct 2002 10:39:16 +0000
Subject: note 26017 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-38101@lists.php.net to get a copy of this message
my php-file looks like this: <php? session_start(); //now I can reach the var $SESSION_ID b.e: echo $SESSION_ID ?> <php? include('path/menu.php'); ?> How can I reach the var $SESSION_ID in the file menu.php in a secure way. I've tried: include('path/menu.php?s=$SESSION_ID'), but I do not know if that i secure enough. -- http://www.php.net/manual/en/function.include.php http://master.php.net/manage/user-notes.php?action=edit+26017 http://master.php.net/manage/user-notes.php?action=delete+26017 http://master.php.net/manage/user-notes.php?action=reject+26017

« previous php.notes (#38101) next »