|
Posted by d on 09/28/28 11:37
"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:moPyf.7322$C7.6826@newsfe3-win.ntli.net...
>d said the following on 16/01/2006 15:19:
>> "David Haynes" <david.haynes2@sympatico.ca> wrote in message
>> news:OHrxf.4737$08.1779@fe71.usenetserver.com...
>>> There's nothing magical about any suffix - it's just what you tell the
>>> server to be sensitive to. For example, I could change all the php files
>>> to have a 'pre' suffix to indicate that these files are 'pre'processed
>>> before displaying them.
>>
>> Unfortunately, as long as certain browsers take notice of suffixes, they
>> are somewhat magical. Making sure your extensions match your content is
>> one sure-fire way to get round that :)
>
> That's not always possible, though. Yes, one could set up the server to
> parse all .html requests as PHP, but what about dynamic images generated
> by PHP? To "match" the suffix there, you'd need to set the server to parse
> all .jpg, etc. files as PHP, which would be a sure-fire way to get bizarre
> behaviour ;)
If you're using a basic webserver setup where every request translates
directly to a file in the directory structure, then yes. That's not what
I'm saying though ;)
>
>
> --
> Oli
Navigation:
[Reply to this message]
|