In main.php, then I use include("xxx.php"), in which, there is a function called temp(); If I use session_start() at the beginging of main.php, after include statment, and I cal the temp(), will the temp() function can get the session variable I have? Or I need to import it by using "global" in the function def.? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]