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. > > 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. http://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