FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » Can someone please explain to me that what is the advantage of using *.inc as extension name?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Can someone please explain to me that what is the advantage of using *.inc as extension name? [message #23080 is a reply to message #23075] Thu, 03 March 2005 15:05 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
When you install the forum you are asked for web path and data path and it is recommended that the data path now be browseable (outside of browseable dirs). If you want to keep the forum all in one dir that is fine too, as every non-direct access dir has .htaccess file with directive to deny access to all.

Even if the files are visible they do not contain any sensetive information like passwords etc...
Making them .php would be prolematic since some .inc have code that is executed in the main scope and if they were called .php, it would be executed.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Ò»¸öSQLITEÊý¾ÝÀà
Next Topic: maillist.php script + mbox + mailman
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 04 09:14:55 GMT 2024

Total time taken to generate the page: 0.04545 seconds