On Mon, Jun 04, 2007 at 11:16:52AM -0700, Anthony Ettinger 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"
$url = $r->url; That's how I normally do it. -- Alan <[EMAIL PROTECTED]> - http://arcterex.net -------------------------------------------------------------------- "Beware of computer programmers that carry screwdrivers." -- Unknown ------------------------------------------------------------------------- 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