Re: [PHP4BETA] Newbie question about include and require...
| From: | Ryan Robertson | Date: | Thu, 02 Mar 2000 19:26:55 +0000 |
| Subject: | Re: [PHP4BETA] Newbie question about include and require... | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11384@lists.php.net to get a copy of this message | ||
Michael,
> I don't think so, but it is suprising that abosolute paths don't work. Paths
> like include("/usr/www/htdocs/myFile.php") or
> include("C:/Apache/htdocs/myFile.php") should always work.
I feel like a complete idiot now. :-) Absolute paths do work, I was just
specifying the wrong drive. Doh!
> You should use include() in if statements. Require() will always include the
> file.
Thanks. I've changed those statements.
Thanks again for your help!
--
Ryan Robertson
Palm Development Support