I keep seeing examples using $PHP_SELF to magically load the url of the page the script is running in, but it does not seem to work. I am using php4. Perhaps I am reading dated tutorials and PHP_SELF is deprecated? Also in examples I see form variables being fed to php pages and a variable, such as $name in the .php page is supposed to be able to grab the value of the corresponding form variable, i.e. input type = text value = name. This also does not seem to work unless it is prefixed with $HTTP_GET_VARS["name"]. Anyone know the proper way to use PHP_SELF?