Hello again! ;-)
I have a problem that I think is not too complicated for anyone with a bit more knowledge of PHP than I do.
I have a frameset that looks like this:
<frameset rows="100,">
<frame src="top.php" name="top" id="top" frameborder="0" scrolling="No" marginwidth="0" marginheight="0" NORESIZE>
<frameset cols="200,">
<frame src="left.php" name="left" id="left" frameborder="0" scrolling="No" marginwidth="0" marginheight="0" NORESIZE>
<frame src="middle.php" name="middle" id="middle" frameborder="0" scrolling="Auto" marginwidth="0" marginheight="0" NORESIZE>
</frameset>
</frameset>
The accompanying URL is http://www.xxx.biz/index.php
Now, what I want is that in the file / frame top.php, the above mentioned URL is displayed.
I tried:
echo "$SERVER_NAME"; // server name
echo "$REQUEST_URI";
but this gives me "http://www.xxx.biz/top.php" (which is the location of the file itself). What I want is the URL displayed in Explorer or Netscape address bar...
Thanks,
Joyce