I use:
if(eregi('index.php', $_SERVER['PHP_SELF']))
{
include('welcome_thing.txt');
}
although it'd be quicker without the eregi() call, as long as you knew the
full value that PHP_SELF would return.
Cheers,
Justin
on 23/12/02 11:30 AM, Peter Houchin ([EMAIL PROTECTED]) wrote:
>
Howdy,
in my header page that I include I have a lil script that basically welcomes
a user to the site.. I've been asked if I can only get this to show up on
the 1st page of the site ( index.php ) now rather than have a whole new
header page I want to see if i can go something like this
if page
2 matches
Mail list logo