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 foll
Try;
$filename = basename($PHP_SELF);
assuming you don't need the full path
Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
-Original Message-
From: Patrick Hartnett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 4:53 PM
2 matches
Mail list logo