Ask a Question related to Macromedia ColdFusion, Design and Development.
-
al_galiza #1
CFHTTP help
We have an in-house built publication system that creates .htm files from
database content. For a specific project, I need to modify the way that our
system creates files to include cf code. See code for further explanation...
In my template, I have a the following code:
<cfif find('MSIE', cgi.HTTP_USER_AGENT)>
<img src="images2.0/spacer.gif" width="7" height="8">
<cfelse>
<img src="images2.0/spacer.gif" width="11" height="8">
</cfif>
The template displays it properly, but when I publish the web file, it will
create a file that depends on what browser I was
using to publish. How do I get CFHTTP, if it is CFHTTP related, to include
the code in the file? Is there another way to
this? Thanks for any help!
al_galiza Guest
-
CFHTTP
Hello, I need to send data from a CF page to an asp.net page for processing via a URL string. The ASP page takes three parameters. Those being... -
CFHTTP Put Method
Scenario is one in which I am moving image files from a local laptop running CF Developer Server to a centralized CF Enterprise server. Have been... -
Cfhttp problem
Im trying to loop through an array elements (in this case URLs) using cfhttp, there are several elements in the array but I can only cfhttp the... -
cfhttp erro
I have been trying to read a tab delimited text file with cfhttp get and I keep getting this error - The column name '<!DOCTYPE HTML PUBLIC... -
cfhttp error
Ugh - I give up. Hi. I have the following line of code: <cfhttp url='#appFullPath#temp_sfiles/#session.userid#/#name#' method='head' /> When I... -
jdeline #2
Re: CFHTTP help
I may be a bit confused.
Is the code fragment you show a part of the ColdFusion template that generates
the .HTM file? If so, you are asking the template to create an <IMG> tag based
upon the browser that is running the template. In other words,
CGI.HTTP_USER_AGENT is the publisher's browser, not the user's.
jdeline Guest
-
al_galiza #3
Re: CFHTTP help
Right, the code fragment included does depend on the browser running the template. I want to be able to carry over that code to create the web file.
al_galiza Guest



Reply With Quote

