Re: Get Current Filename HOWTO
| From: | bvr | Date: | Fri, 29 Mar 2002 01:16:44 +0000 |
| Subject: | Re: Get Current Filename HOWTO | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90631@lists.php.net to get a copy of this message | ||
note that this var. includes the query string, for example:
/applications.php?cat=browsers
bvr.
Patrick Hartnett wrote:
It seems I spoke to quick...here is how to get the current file name. $this_file = $_SERVER['REQUEST_URI']; echo( $this_file ); the result is formatted as follows: /applications.php _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx