Posted by Jerry Stuckle on 10/29/06 22:35
Matthew256 wrote:
> I have a bunch of files with the extension .cfm with PHP code in them.
> It's a long story, but I need to keep the extension the same.
> Is there a way to make PHP parse the .cfm file?
> My web host says they can't do it on their end.
> Should I argue?
>
> Matthew
>
I can't say as I blame them. I wouldn't want to try adding non-standard
extensions like this for every client.
If this is Apache, they could with an AddType directive in the
httpd.conf file. You could do it in the .htaccess file.
But .cfm is a Cold Fusion template file. Why would you have php code in it?
You'll be much better off in the long run if you change the extension to
something standard like .php. Or just get yourself a virtual private
server where you can do anything you want.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|