> I keep getting "Undefined variable: PHP_SELF" when using the > following: > > <form method=post action='$PHP_SELF'> > > Global variables are off... What am I doing wrong?
In current versions of PHP, $PHP_SELF is available if globals are on. You'll need $_SERVER['PHP_SELF'] instead if you're keeping globals off. CYA, Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php