>"Justin French" <[EMAIL PROTECTED]> wrote in message
>> 1. Name all included files .inc
>    If you name them *.php then put anything in them inside a function, then
>when the user browses to that file he/she won't see anything at all.

You've already moved them out of the web tree so that they can't browse to
them in the first place...

It's better to clearly denote them as *NOT* "entry point" .php (or .htm)
files than to possibly upload them into htdocs.

When you see .inc in htdocs, you know you screwed up.  Vice versa for .php
in your includes directory, which is not in htdocs.

Works for me. :-)


Like Music?  http://l-i-e.com/artists.htm

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

Reply via email to