Re: [PHP] [Files suffix] .inc.php files

2005-06-01 Thread John Nichel
Leif Gregory wrote: Hello Martin, Sunday, May 29, 2005, 9:24:00 PM, you wrote: M> I saw files like "file.inc.php" and "file.inc" M> What is the *.inc suffix good for ? It's good for a lot of trouble if the webserver hasn't been set up to parse .inc files as PHP. If it hasn't then someone can re

Re: [PHP] [Files suffix] .inc.php files

2005-06-01 Thread Rory Browne
moving outside the webtree is the best option, where practical. Calling the files whatever.inc.php allows you to disallow access to .inc.php files via the apache config file. On 6/1/05, Richard Lynch <[EMAIL PROTECTED]> wrote: > On Tue, May 31, 2005 10:55 am, Leif Gregory said: > > Hello Martin, >

Re: [PHP] [Files suffix] .inc.php files

2005-06-01 Thread Marcus Bointon
On 1 Jun 2005, at 06:22, Richard Lynch wrote: You've got files that people can get executed *COMPLETELY* out of context, that *NOBODY* even though about being executed out of context, much less *TESTED* in any kind of QA process! I can surf to http://example.com/admin.inc and who knows what

Re: [PHP] [Files suffix] .inc.php files

2005-05-31 Thread Richard Lynch
On Tue, May 31, 2005 10:55 am, Leif Gregory said: > Hello Martin, > > Sunday, May 29, 2005, 9:24:00 PM, you wrote: > M> I saw files like "file.inc.php" and "file.inc" > M> What is the *.inc suffix good for ? > > It's good for a lot of trouble if the webserver hasn't been set up to > parse .inc file

Re: [PHP] [Files suffix] .inc.php files

2005-05-31 Thread Leif Gregory
Hello Martin, Sunday, May 29, 2005, 9:24:00 PM, you wrote: M> I saw files like "file.inc.php" and "file.inc" M> What is the *.inc suffix good for ? It's good for a lot of trouble if the webserver hasn't been set up to parse .inc files as PHP. If it hasn't then someone can request that file in a b

Re: [PHP] [Files suffix] .inc.php files

2005-05-31 Thread Jochem Maas
sorry Martin, forgot to post to list! oh and the list is a little overworked so don't go posting double if your post doesn't appear immediately... it will get there eventually ;-) Martin Zvarik wrote: > Hi, > > I saw files like "file.inc.php" and "file.inc" I saw penguins :-) > > What is th

RE: [PHP] [Files suffix] .inc.php files

2005-05-31 Thread Jay Blanchard
[snip] I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. [/snip] Once is enough...wait for an answer. The suffix is good for identifying files. For instance, say you have a group of standard functions that you use in all applications.

[PHP] [Files suffix] .inc.php files

2005-05-31 Thread Martin Zvarik
Hi, I saw files like "file.inc.php" and "file.inc" What is the *.inc suffix good for ? Thank you for replies. Martin