Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hello <_<

 

Can someone verify for me that it's possible to edit the .htaccess file making it possible for a page with the extension of .cfm to be treated as a php file?

 

For example:

 

AddType application/x-httpd-php .php .htm .html .cfm

 

Will that work ok?

 

Thanks in advance,

 

Steve

Link to comment
Share on other sites

I'm rewriting a site that uses a join script with the extension of .cfm

 

The url has variables that the script uses in adding a user after a succsessful purchase.  Instead of trying a redirect to a php page I thought it might be easier for the server to treat the cfm extension as php.

Link to comment
Share on other sites

  • 2 weeks later...

Hey Guys,

 

Thanks for the comments I really appreciate it.  I'll let you know how we handled it when we get around the installing the new site.

Currently we are passing values from a .cfm script to a php script.  I think it was handled by editing the Apache config file by way of a file handler statement. 

 

Steve

Link to comment
Share on other sites

 Share

×
×
  • Create New...