Checking a frames url..

From: Date: Mon, 17 Dec 2001 08:58:53 +0000
Subject: Checking a frames url..
Groups: php.general 
Request: Send a blank email to php-general+get-77923@lists.php.net to get a copy of this message
Lo all, I am trying to write a script that will output to a frame the current location within a site.. like Home :: Contact I need PHP to be able to check the url of the frame "main" and then parse out anything after the domain to decide what to output as the location. e.g. http://domain.com/contact/index.html (http://domain.com) <<-- forgotten (contact/index.html) If URL = contact/index.html { echo('Home :: Contact'); } If URL = business/index.html { echo('Home :: Business'); } Am I on the correct track with most of it?? I just cant work out how to grab the URL of a single frame. Thanx Andrew

« previous php.general (#77923) next »