PHP Classes

Nice class, but don't forget to tell a user to set permission...

Recommend this page to a friend!

      Arioch Mail  >  All threads  >  Nice class, but don't forget to tell...  >  (Un) Subscribe thread alerts  
Subject:Nice class, but don't forget to tell...
Summary:Package rating comment
Messages:2
Author:David Ferreira
Date:2008-08-20 08:45:56
Update:2008-08-20 09:41:26
 

David Ferreira rated this package as follows:

Utility: Sufficient
Consistency: Good
Examples: Sufficient

  1. Nice class, but don't forget to tell...   Reply   Report abuse  
Picture of David Ferreira David Ferreira - 2008-08-20 08:45:56
Nice class, but don't forget to tell a user to set permissions on those .inc files or just renamed them to .inc.php :)

Best regards

  2. Re: Nice class, but don't forget to tell...   Reply   Report abuse  
Picture of Massimo Squillace Massimo Squillace - 2008-08-20 09:41:27 - In reply to message 1 from David Ferreira
You're right. My standard Apache configurations always specify:

AddType application/x-httpd-php .php .inc

Files ending in .inc are then treated like PHP sources (and all .php and .inc files have only read permissions for the lone Apache user), so I forgot to mention this important detail.