|
Here’s my code: <CFQUERY NAME="getAll" DATASOURCE="#DSN#"
DBTYPE="ODBC"> SELECT * FROM theLinks </CFQUERY> <cfhttp url=""
method="GET"> <cfset newContent = cfhttp.FileContent> <cfoutput query="getAll"> <cfset newContent = replace(newContent,
"#hyperlink#", "#link#", "all")> </cfoutput> <cffile action=""
file="e:\wwwroot\catalog\index.html" output="#newContent#"
nameconflict="OVERWRITE"> index.html created! This isn’t working for me. I can’t see anything
wrong with my code. I’m using CF Server 5.0 When I do the following: <CFQUERY NAME="getAll"
DATASOURCE="manageLinks" DBTYPE="ODBC"> SELECT * FROM theLinks </CFQUERY> <cfhttp url=""
method="GET"> <cfset newContent = cfhttp.FileContent> <!--- no query loop -à <cfset newContent = replace(newContent,
"index.cfm?nextPage=1", "index2.html", "all")> <cffile action=""
file="e:\wwwroot\catalog\index.html" output="#newContent#"
nameconflict="OVERWRITE"> index.html created! Works fine. Help! Ron Mast Webmaster Truth Hardware Ph: 507-444-4748 Fx: 507-444-5361 _______________________________ This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. |
