global variables

From: Date: Mon, 24 Sep 2001 18:27:48 +0000
Subject: global variables
Groups: php.general 
Request: Send a blank email to php-general+get-68582@lists.php.net to get a copy of this message
Hi, I am have a function in which I have created a variable in it called $genpassword. I find that I am unable to carry this variable over to the the other scripts to use because it is a local variable and its value exists only in the function. Is there anyway that I can take the value in $genpassword, a local variable and change it into a global variable so that other scripts will recognize it? Thanks. Peter

« previous php.general (#68582) next »