Re: Require
| From: | Leonardo Dias | Date: | Fri, 07 Jul 2000 20:27:27 +0000 |
| Subject: | Re: Require | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5446@lists.php.net to get a copy of this message | ||
> Hi,
> I have code like this:
[snikt!]
> but the require still executes regardless if $url has a value or not. $url
> is a querystring value, like
> http://www.mysite.com/index.php3?url=stuff
> Am I doing this wrong?
Yes. Require is always executed, regardless of conditions.
You should use INCLUDE instead.
--
Leonardo Dias
Analista Programador / Analyst Programmer
Catho Online
http://www.catho.com.br