RE: [PHP] "location bar"

From: Date: Tue, 14 Aug 2001 07:00:20 +0000
Subject: RE: [PHP] "location bar"
Groups: php.general 
Request: Send a blank email to php-general+get-62584@lists.php.net to get a copy of this message
if you're asking on how to show where you are, then this is what you could do: Create an array of page names: ie: $page_name = Array( '/' => 'Home', '/page1' => 'Page One' ); ... and so on.... Then just do echo $page_name[strtolower($PHP_SELF)]; This is only appropriate for small static sites, and is not really a solution. try to extend this idea, with maybe use of databases and go ahead. Also, look for such scripts. Tons of code was written already and some module like this, I think, you can easily find. Cheers, Maxim Maletsky www.PHPBeginner.com -----Original Message----- From: Wolfgang Schneider [mailto:schneider@bibelcenter.de] Sent: Tuesday, August 14, 2001 3:35 PM To: php-general Subject: [PHP] "location bar" Hi everyone, I am somewhat new at the use of php and would appreciate if someone could help me with a question re "location bar" How can a location bar such as the sample below be generated in php to be displayed in web pages ... Location : home:/category:sub_1:/page title Is there a specific setup needed in terms of the directory structure on the server? Or will this only function with database type website? Thanks in advance for any input and helpful ideas ... God bless you with His grace and peace Wolfgang Looking for Biblical information? COME AND SEE! -- ONLINE Courses: http://classes.bibelcenter.de ... NEW! -- BibelCenter: http://www.bibelcenter.de -- Bookstore: http://www.worthy.net/BibelCenter/

« previous php.general (#62584) next »