<snip>
> that will protect against people typing the url in their broswer to get the
> code.
i'm not sure what you're talking about here...php code is parsed on the
server then the html is sent to the browser....only way to get code is
if there's a .phps copy of the file accessible on the web
> Let's say I have some include file somewhere. Do you mean that if someone
> knew the name of the include file, they could type that path and file name
> and the code would display?
if someone knew the name of your include file, and it was under the
webserver root (for instance, the same folder) then yes, its like any
other file......you can get around this by changing your php.ini
include_path variables and putting the files there, outside the
webserver directory
jack
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]