Posted by Leif Gregory on 10/21/42 11:17
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 broswer and see the code.
I'd just stay away from using .inc for an include and do either of the
below:
config.inc.php
or just
config.php
Whichever floats your boat.
--
Leif (TB lists moderator and fellow end user).
Using The Bat! 3.5.20 under Windows XP 5.1
Build 2600 Service Pack 2 on a Pentium 4 2GHz with 512MB
[Back to original message]
|