> ereg("^/anythinghere/coverage/anthythinghere.html?", $PHP_SELF
> ||||||||||||||||||||||||||
> |||||||||||||||||||||||||||||||||||||||
>
> So basically it is looking for the "/coverage/" folder,
> anything can come before it, and anything after it??
if (strstr($PHP_SELF, "/coverage/"))
{
echo "Got it";
}
else
{
die(); // ;)
}
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]