Hi Anthony,
I use something like this:
$Hostname = $r->hostname();
$https = ($r->subprocess_env('https')) ? 1 : 0;
$Uri = $https ? 'https://' . $Hostname . '/' : 'http://' . $Hostname .
'/';
Cheers
Jim Rey
On 04/06/07, Anthony Ettin$Uri = 'http://' . $Hostname . '/';ger <
[EMAIL PROTECTED]> wrote:
I want to flag a menu item as active based on the URL.
Does anyone know how I access the value of the current url? ie
"/page/foo.html"
--
Anthony Ettinger
Ph: 408-656-2473
http://chovy.dyndns.org/resume.html
http://utuxia.com/consulting
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users
--
Jim Rey
48 Laburnum Park
Bradshaw
Bolton BL2 3BU
United Kingdom
Tel: 01204 593 222
Mob: 07816 751 874
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users