|
Posted by Jerry Stuckle on 06/21/07 11:27
Toby A Inkster wrote:
> Jerry Stuckle wrote:
>
>> It depends completely on how your webserver is set up.
>>
>> But .php files should be parsed by every webserver which has php installed.
>
> All files included with include(), require(), include_once() and
> require_once() are parsed as PHP files. This is not dependent on
> the filename or web server.
>
Toby,
Interesting, because I've seen this before, and others have commented on
it, also. Maybe it was a bug in an older version of PHP - it's been a
while ago. But I had one local cohort who was using php includes (not
SSI), and his files were not being parsed when they had .inc extensions.
Changing them to .php worked. And no, I'm sure he didn't use SSI.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|