why don't you rename your include files to 
*.inc.php

so they are parsed by php and no valuable information would be given out.
also you could use folowing lines in a .htaccess


# .inc-files not readable:
<Files ~ "\.inc$">
    Order allow,deny
    Deny from all
</Files>

sebastian



> -----Ursprüngliche Nachricht-----
> Von: Jamie Burns [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 17. Januar 2001 13:48
> An: [EMAIL PROTECTED]
> Betreff: [PHP] how do i hide my .inc files in apache??
> 
> 
> hi..
> 
> can anyone tell me how i get apache to never send out the 
> contents of my include files (*.inc) to users?
> 
> i dont want my source sode to be visible to browsers.
> 
> thanks,
> 
> jamie.
> 

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

Reply via email to