[PHP] File extension inc?

2001-10-03 Thread Jan Grafström
Hi! How does server handle the .inc extension and for what do I use it ? Where can I read about it? Thanks in advace Jan Grafström -- 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

Re: [PHP] File extension inc?

2001-10-03 Thread alvarez
Use the '.inc' extension only for files that are not directly accessible to the client. For example, database configuration files do not need to be php and you can mark them as '.inc' for increased code legibility. AFAIK a client's request to one of these files won't be served at all. D. Alvarez

Re: [PHP] File extension inc?

2001-10-03 Thread Alexander Deruwe
On Wednesday 03 October 2001 12:13, Jan Grafström wrote: Hi! How does server handle the .inc extension and for what do I use it ? You should be aware that if the webserver is not set up to handle .inc files as PHP code, that it might output them as text to the user. Thus possibly showing

Re: [PHP] File extension inc?

2001-10-03 Thread Rasmus Lerdorf
On Wednesday 03 October 2001 12:13, Jan Grafström wrote: Hi! How does server handle the .inc extension and for what do I use it ? You should be aware that if the webserver is not set up to handle .inc files as PHP code, that it might output them as text to the user. Thus possibly showing

RE: [PHP] File extension inc?

2001-10-03 Thread jallen01
Even better use mod_rewrite so that .inc files are never displayed :-) Jeremy Allen elliptIQ Inc. -- 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

RE: [PHP] File extension inc?

2001-10-03 Thread Rasmus Lerdorf
Even better use mod_rewrite so that .inc files are never displayed :-) mod_rewrite is severe overkill for this. Just use: Files ~ \.inc$ Order allow,deny Deny from all /Files -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] File extension inc?

2001-10-03 Thread Sheridan Saint-Michel
, an ITW Company www.foxjet.com - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 1:59 PM Subject: RE: [PHP] File extension inc? Even better use mod_rewrite so that .inc files are never displayed