hmmmm...not sure what that column stuff is about....but have a look at CFHTTPPARAM...it's used for passing in the URL params "?name=searchname&number=123&search=all" properly

Sorry.,...tad rusty on CFHTTP....but that should shed some light

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
t. 250.920.8830
e. [EMAIL PROTECTED]

  ----- Original Message -----
  From: Mickael
  To: CF-Talk
  Sent: Wednesday, July 28, 2004 1:06 PM
  Subject: CFHTTP

  Hello All,

  I have never used CFHTTP before,and I am running in to an issue.  I would like to retrieve information from a form on a remote server.  If I simple do this in IE .

  https://username:[EMAIL PROTECTED]/search.cgi?name=searchname&number=123&search=all

  This returns the proper information in my browser.

  So I tried this in CF

  <cfhttp
  name="username"
  password="password"
  method="get"
  url=""
  resolveurl="yes"></cfhttp>

  <cfoutput>
     #cfhttp.FileContent# </cfoutput>

  But I get the following error  
        The column name "<!DOCTYPE HTML PUBLIC -//IETF//DTD HTML 2.0//EN>" is invalid.  
        Column names must be valid variable names. They must start with a letter and can only include letters, numbers, and underscores.  

  I don't really understand how columns work. I would just like to display that page or save it to a variable.

  How do I deal with columns with CFHTTP?

  Mike
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to