Trying to build a database which uses the webpage name as one of the
selection criteria. (building page specific menus). How do I get the
current file name? Can't seem to find any help on this.
-Patrick
_
MSN Photos is the
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
To: [EMAIL PROTECTED]
Subject: [PHP] Get Current Filename
Trying to build a database which uses the webpage name as one of the
selection criteria. (building page specific menus). How do I get the
current file name? Can't seem to find any help on this.
-Patrick
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:
4 matches
Mail list logo