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.
|
|


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to