> // this won't work b/c of quoting issues > echo "This script is called $_SERVER["PHP_SELF"]"; > > // this should work fine IIRC > echo "This script is called $_SERVER['PHP_SELF']";
Nope, use: echo "This script is called $_SERVER[PHP_SELF]"; -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php