[thelist] PHP Breadcrumbs
Gary McPherson
genyus at ingenyus.net
Wed Jun 18 10:30:27 CDT 2003
> Hi
> probably the reason is that you do not have register_globals
> turned on in your
> setup. Which is a good thing. Try putting $_SERVER['PHP_SELF'] or
> $_SERVER['REQUEST_URI'] in your call to bread_crumb(), instead of
> $SCRIPT_URL. Basically the $SCRIPT_URL var is undefined and
> so the function
> is just giving you the home page and the current page.
>
> Sam
Just as an aside, using $_SERVER['REQUEST_URI'] didn't work for me, you
might have more luck with $_SERVER['PHP_SELF']
Gary
More information about the thelist
mailing list