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

2005-06-01 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 files as PHP. If

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

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 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 request

[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

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. You

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 the *.inc

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