RE: [PHP-WIN] not able to pass values to OR access global values by the included file
| From: | Mikey | Date: | Fri, 08 Aug 2003 10:18:28 +0000 |
| Subject: | RE: [PHP-WIN] not able to pass values to OR access global values by the included file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21079@lists.php.net to get a copy of this message | ||
Wouldn't it be easier to do:
$action = 1;
include ("file.php");
HTH,
Mikey
-----Original Message-----
From: Krishna Murali-A19032 [mailto:murali.krishna@motorola.com]
Sent: 08 August 2003 10:23
To: php-windows@lists.php.net
Subject: [PHP-WIN] not able to pass values to OR access global values by the
included file
when i include php files i would like to pass values to the included file
like
include("file.php?action=1");
I am not able to do this. I have tried setting cookies and try to acces the
cookies from file.php. It didn't work.
Can anyone suggest me a way out of this?
Thanks
Murali
S. Murali Krishna
Software Engineer
Software Technology Group (SofTec)
Mission Statement : To be the BEST in ALL the roles that I play.