[thelist] Basic PHP question about: 'Notice: Undefined variable'

Chris Dempsey evolt at cubeit.co.uk
Fri Aug 11 04:35:48 CDT 2006


Thanks to all who replied - that's me learned my first bit about PHP!

Chris.

-----Original Message-----
From: thelist-bounces at lists.evolt.org
[mailto:thelist-bounces at lists.evolt.org] On Behalf Of misterhaan
Sent: 10 August 2006 20:14
To: thelist at lists.evolt.org
Subject: Re: [thelist] Basic PHP question about: 'Notice: Undefined
variable'

Chris Dempsey wrote:
> Notice: Undefined variable: PHP_SELF in e:\Websites\xxxx\admin\login.php
on
> line 12
>   
Chances are if you fix just this error by replacing $PHP_SELF with 
$_SERVER['PHP_SELF'] there will still be other errors like where the 
programmer used $password instead of $_POST['password'].  This is not to 
say you should turn register_globals on, just that it's likely that the 
entire thing was written assuming register_globals was on, so there's 
probably more to fix.
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 




More information about the thelist mailing list