Re: Directory System Splitter
| From: | Paul Roberts | Date: | Sat, 27 Apr 2002 13:48:05 +0000 |
| Subject: | Re: Directory System Splitter | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94940@lists.php.net to get a copy of this message | ||
search zend.com for breadcrumbs
----- Original Message -----
From: "Jason Wong" <php-general@gremlins.com.hk>
To: <php-general@lists.php.net>
Sent: Saturday, April 27, 2002 2:01 PM
Subject: Re: [PHP] Directory System Splitter
> On Saturday 27 April 2002 20:34, Randum Ian wrote:
>
> [snip]
>
> > For example:
> >
> > http://www.danceportal.co.uk/diary/2002/may/
> >
> > has this in the panel:
> >
> > Home / Diary / 2002 / May / <-- These are links back down the system of
> > directories.
> >
> > 7Â×y_�# çÇd%í
> > http://www.danceportal.co.uk/charts/randumian/mon-22-apr-2002.php
> >
> > has this:
> >
> > Home / Charts / Randum Ian / Monday, April 22, 2002
> >
> > Is it possible to automate this in a template so that it can work out where
> > it is and create the correct links?
>
> Yes.
>
> oý¿
> s·£¯)6ã~phttp://homepages.tesco.net/~J.deBoynePollard/FGA/questions-with-yes-or-no-answers.html
>
>
> Presumably you want to know *how* to do it?
>
> Use phpinfo() to see what predefined vars you can use to get your document
> path. Then probably use explode() to get the individual components of the
> path.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Are we not men?
> */
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>