faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 54 people (17%) answered Yes
Recently 1 of 10 people (10%) answered Yes


Undefined variable PHP_SELF and other submited form variables

Dec 26th, 2005 08:33
Praveen Kumar Kukkapalli, Hartono Liduwan,

You should use $PHP_SELF instead of PHP_SELF. It will get teh current
file name. if you use PHP_SELF it will treat that as a constant.