Re: Re: include help please
| From: | Matt Matijevich | Date: | Thu, 31 Jul 2003 21:34:04 +0000 |
| Subject: | Re: Re: include help please | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-157828@lists.php.net to get a copy of this message | ||
<snip>
is there anyway where i can check if page is defined in the url?
</snip>
not sure I know exactly what you mean but I think you could use
something like this
$foo = @include("index.php");
if ($foo) {
//index.php was valid
} else {
//index.php was not valid
}
there also might be a better way to do this.