Hi,
Is there a way to get the title of the web page containing my code? That is, if I had something like this on a page:
<? include("cgi-local/test.php"); ?>
how could tell test.php the title of the page it's included on?
Thanks,
Paul
Hm. Use fopen() and fread() to read the file ($PHP_SELF) in as text, then use a regular expression search to locate the bit between the <title> and </title> tags? That's the best I can think of.