Re: include files / htaccess
| From: | Philip Olson | Date: | Fri, 15 Dec 2000 02:50:12 +0000 |
| Subject: | Re: include files / htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30440@lists.php.net to get a copy of this message | ||
Check this out :
http://phpbuilder.com/tips/item.php?id=66
The simple answer is "Yes" , by :
1. Put includes outside of your web path
2. JIC, name them .php and they will parse hence, your code will not show
in browser.
The above links is full of tips, check out the user comments.
Regards,
Philip
--.sig
[ Want to write Good code? First, write Bad code. ]
On Fri, 15 Dec 2000 mailing_list@gmx.at wrote:
> I know, this is a little bit OffTopic but ...
>
> It is not possible for me, to put my include-files ".inc" out of the
> htdocs-path!
> Can I use htaccess to prevent the server showing these files' source-code?
>
> thanks
> michi
>
> --
> Sent through GMX FreeMail - http://www.gmx.net
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>