Re: [PHP] File extension inc?

2001-10-03 Thread Jason Stechschulte
On Wed, Oct 03, 2001 at 02:13:54PM +0200, Jan Grafström wrote: > How does server handle the .inc extension and for what do I use it ? > Where can I read about it? This depends on the setup of the web server. On some servers, it is set up to be parsed just as a .php extension would be. On these

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 pa

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 >

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 P

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: Order allow,deny Deny from all -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP] File extension inc?

2001-10-03 Thread Sheridan Saint-Michel
site Administrator FoxJet, 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? >