note 51531 deleted from function.include by vrana

From: Date: Wed, 07 Sep 2005 10:24:07 +0000
Subject: note 51531 deleted from function.include by vrana
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-94853@lists.php.net to get a copy of this message
Note Submitter: webmaster at phpperu dot com ---- Similar case of william~AT~phodex.dot.us: Need to pass session vars to an included file (include file doesnt recognize it in the common way). Try this: YOUR MAIN PROGRAM, PASS USR AND TIME SESSION VARS <? session_start(); include "http://www.demo.com/headfile.php?xusr=".$xusr."&xtime=".$xtime; // the headfile will recognize now the session variables $xusr and $xtime ?>

« previous php.notes (#94853) next »