Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Steve Grosz #1
Using CFFILE to create HTML page?
Is it possible to use the CFFILE tag to specify that a HTML file be
created, based on user input? I'm trying to allow users to create a
'diary' of sorts. The file will be saved to the servers hard drive, but
when they pull it back up, I want to have H1 and other tags formatted
nicely.
I haven't been able to do that with just a plain text file.
Steve
Steve Grosz Guest
-
Flash .html Plays on Server but NOT on html page
Sorry for being so green. Running IIS Microsoft Server 1. Installed FMS 2. Installed Player 8 and 9 Uploaded .flv and .swf files to server.... -
How to create a html page
Hello,i am very new to dreamweaver 8,and i have searched everwhere possible on how to create a html page.My website has a navegation bar.And on the... -
Create a new dynamic html page
I would like to use flash to create an input text area for practicing HTML scripting where you click the process button and then coldfusion will... -
How do you create a PHP page on an html doc
In order for the PHP extension to work it will need to be on a page with a PHP extension. If you insert php script on an HTML page the http server... -
Calling a html page from an asp page then returning to the next statement on the original asp page
Hi! I have an ASP page that calls excel to create a report. This works fine. Now I need to call a html calendar page to filter what rows are... -
Stressed_Simon #2
Re: Using CFFILE to create HTML page?
Just write all the tags and content as a variable and then use cffile action="write" and save it as an html file.
Stressed_Simon Guest
-
Trygve #3
Re: Using CFFILE to create HTML page?
A nice tip is to use <cfsavecontent>, <cfset> and <cffile> together - then you
can create almost anything, including cfm-files with cf-code in them.
<cfsavecontent variable="test">
<h1>This is my heading</h1>
<strong>this is my my bolde text</strong>
<cfsavecontent>
<cffile action="WRITE" file="X:\Inetpub\wwwroot\MyFile.html" output="#test#">
Trygve Guest



Reply With Quote

