Alternative to $_SERVER['PHP_SELF']
Posted: Wed Jul 07, 2010 11:25 am
In my forms that post back to themselves, I am considering the following alternative to $_SERVER['PHP_SELF']. Does anyone see a security isse with this? I appreciate any thoughts:
basename(dirname(__FILE__))."/".basename(__FILE__);
basename(dirname(__FILE__))."/".basename(__FILE__);