global $genpasswd;
_______________________________________
Justin Bain Rodino
Technology Analyst/Systems Engineer
p. 219.524.1000
f. 219.524.1001
e. [EMAIL PROTECTED]
> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 1:28 PM
> To: PHP List
> Subject: [PHP] global variables
>
>
> 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
>
>
>
> --
> 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]