RE: [PHP] Where am I?[Scanned]

From: Date: Fri, 23 May 2003 07:47:33 +0000
Subject: RE: [PHP] Where am I?[Scanned]
Groups: php.general 
Request: Send a blank email to php-general+get-148725@lists.php.net to get a copy of this message
I've seen the following used to do something similar: echo __FILE__; or echo __LINE__; These will show the file from within which the code is located or the line number. HTH, Michael Egan -----Original Message----- From: H M Kunzmann [mailto:herbert@dreamstroke.com] Sent: 23 May 2003 08:49 To: ????? Cc: php-general@lists.php.net Subject: Re: [PHP] Where am I?[Scanned] > Is there a function which outputs string in which script is running > at this moment? Look at $PHP_SELF and/or $HTTP_SERVER_VARS['PHP_SELF'] I think they will give you the info you need ... -- Herbert Michael Kunzmann Binary Chaos Magician

« previous php.general (#148725) next »