Re: Includes
| From: | Bryan Koschmann - GKT | Date: | Mon, 07 Oct 2002 16:40:56 +0000 |
| Subject: | Re: Includes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-119103@lists.php.net to get a copy of this message | ||
Yes that is the proper usage.
Maybe you could check the referrer and only display if from the webserver?
I can't remember if a .htaccess would work with that sort of thing, as
password protecting would of course require a password :) Unless this
isn't a public site and you want a password.
Bryan
On Mon, 7 Oct 2002, Rick Beckman wrote:
|I'm wanting to use PHP to make updating an entire site easier by using
|include() [I think that's the function] to include navigation bars, notices,
|etc. on multiple pages. What's the best way to do that, and is it possible
|to keep the included files from being indexed/viewed on their own (possibly
|by password protecting [htaccess] the directory they are in)? Thanks in
|advance for any help.
|
|