Hi, I know you can edit the htaccess file I think to allow php scripts to run and be parsed in html files. I was wondering if that was possible with coldfusion code. What I have is a small bit of coldfusion code and ajax that just returns some data asynchronously within a page. The problem I think though will be that this code needs to be run from an html page. Otherwise I would need of course a cfm template to run this code. Thanks for any advice and help!
teedoff 3
Posting Pro
Recommended Answers
Jump to PostNot sure why it needs to be in an html page. Creating a small .cfm script that can be used from any page is the simplest. The other option is to configure the CF server to process .html pages (ie so any cfm code is executed). But that's a major …
Jump to Posthmm not sure I'm following your first bit.
The 1st part was just, if you want to use CF code ... then use a .cfm page ;-)
edit the htaccess file I think to allow php scripts to run and be parsed in html files
That's the second option. You …
All 5 Replies
arrgh 22
Posting Whiz
teedoff 3
Posting Pro
arrgh 22
Posting Whiz
teedoff 3
Posting Pro
osekmedia 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.