Try the define function. That will define a constant that you will always have access to (within functions, through various included files,etc.) Or you can write values to the $GLOBALS array of global variables. $GLOBALS["userPassword"]="u8943fd"; Will define a variable that is accessible as $userPassword. outside of functions and within functions available after the global $userPassword; command is within the function. HTH, Michael Richard wrote: > Greetings. > > I have about two include files which are included in every php page that > I have, and I wish to store global variables, such as passwords, usernames > and other details information. > After going through the PHP manual, all I could find was UNSET/SET > global variables, but I don't know if that is the one to use or not... they > looked like if they were to be doing something else. > > Any help or ideas? > > - Richard > > -- > 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] -- 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]