Wouldn't it be easier to do: $action = 1; include ("file.php");
HTH, Mikey -----Original Message----- From: Krishna Murali-A19032 [mailto:[EMAIL PROTECTED] Sent: 08 August 2003 10:23 To: [EMAIL PROTECTED] 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. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php