note 26017 rejected from function.include by maxim
| From: | maxim@php.net | Date: | Tue, 15 Oct 2002 10:56:07 +0000 |
| Subject: | note 26017 rejected from function.include by maxim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-38102@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.