Posted by Jerry Stuckle on 10/03/06 02:45
squash@peoriadesignweb.com wrote:
> I have spent two hours trying to make sense of this script, called
> crazy.php. The output should be nothing because $cookie_password is
> nowhere defined in this script, correct? But it actually outputs the
> value that other scripts i have running set it to. Why should crazy.php
> care what other scripts are running that use that variable name??
>
>
> <?php
>
> crazy();
>
> ////////////////////////////
>
> function crazy() {
>
> global $cookie_password;
>
> echo $cookie_password;
>
> } // end function
>
> ?>
>
Are you including this script in another one?
Do you have register_globals set to on?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|