"Ralph Freshour" <ra***@primemail.com> wrote in message
news:21********************************@4ax.com...
I've been looking thru my PHP functions and can't find what I need -
is there a function that will tell me what .php file is currently
executing?
Thanks...
$_SERVER['PHP_SELF'] is just one of a number that could tell you what you
want... A whole host of other interesting values are available if you just
call phpinfo(); and check the output (which is in a nice clean table). Note
though that some variables are sent by the client (browser) and not all
clients (browsers) send the same amount of data (ie some reveal more
information, others don't - and some (like me) who have Norton Internet
Security 2003 have some of the headers sent by the client removed before
they hit the server (meaning minimum amount of data).
But if its just findiing out about server side values, then you should/can
rely on phpinfo(); to help you out.