Have you tried removing the scope?
Are you posting to cf using perl or the other way around?
~Justin MacCarthy
----- Original Message -----
From: "Benji Spencer" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 26, 2000 3:26 PM
Subject: Post form data in (to) CF
> I am working on a project where I need to construct the actual HTTP
> request. I have run into a roadblock with CFM form pages though. Does
> anyone know how CF handles form data in a post? CF seems to be
> expecting/seeing things different then a CGI script.
> here are a couple of examples as to what I am doing as well as there
> unexplainable results.
>
> 1.1) my test PERL script (just displays the post data)
>
> [/opt/cgi-bin]% cat 2.pl
> #!/usr/local/bin/perl
> use CGI;
> $query=new CGI;
>
> print $query->header;
> print $query->param('date_id');
>
> 1.2) The request to that script
> [~]$ telnet xyz 80
> Trying xxx.xxx.xxx.xxx...
> Connected to xyz.xyz.com.
> Escape character is '^]'.
> POST http://xyz.xyz.com/cgi-bin/2.pl HTTP/1.0
> Content-Length: 18
>
> date_id=2000-09-21
> HTTP/1.1 200 OK
> Date: Tue, 26 Sep 2000 14:08:58 GMT
> Server: xxxxxxxxxxxxxxxxxx
> Last-Modified: Tue, 26 Sep 2000 13:45:57 GMT
> Cache-Control: no-cache
> Connection: close
> Content-Type: text/html
>
> 2000-09-21Connection closed by foreign host.
>
>
> 2.1) the CFM page
> <cfoutput> #form.date_id#</cfoutput>
>
>
> 2.2) The request to the CF page
> [~]$ telnet xyz 80
> Trying xxx.xxx.xxx.xxx...
> Connected to xyz.xyz.com.
> Escape character is '^]'.
> POST http://xyz.xyz.com/1.cfm HTTP/1.0
> Content-Length: 18
>
> date_id=2000-09-21
> HTTP/1.1 200 OK
> Date: Tue, 26 Sep 2000 14:21:53 GMT
> Server: xxxxxxxxxxxxxxxx
> Page-Completion-Status: Normal
> Page-Completion-Status: Abnormal
> Connection: close
> Content-Type: text/html
>
>
>
>
>
>
>
>
>
</TD></TD></TD></TH></TH></TH></TR></TR></TR></TABLE></TABLE></TABLE></A></A
>
BBREV></ACRONYM></ADDRESS></APPLET></AU></B></BANNER></BIG></BLINK></BLOCKQU
> OTE></BQ></CAPTION></CENTER>
>
</CITE></CODE></COMMENT></DEL></DFN></DIR></DIV></DL></EM></FIG></FN></FONT>
>
</FORM></FRAME></FRAMESET></H1></H2></H3></H4></H5></H6></HEAD></I></INS></K
> BD></LISTING></MAP></MARQUEE
>
></MENU></MULTICOL></NOBR></NOFRAMES></NOSCRIPT></NOTE></OL></P></PARAM></P
>
ERSON></PLAINTEXT></PRE></Q></S></SAMP></SCRIPT></SELECT></SMALL></STRIKE></
> STRONG></SUB></SUP></TABLE></
>
TD></TEXTAREA></TH></TITLE></TR></TT></U></UL></VAR></WBR></XMP><HTML><HEAD>
> <TITLE>Error Occurred While Processing
> Request</TITLE></HEAD><BODY><HR><H3>Error Occurred While Processi
> ng Request</H3><P> <TABLE BORDER><TR><TD><H4>Error Diagnostic
> Information</H4><P><P>An error occurred while evaluating the expression:
> <P><PRE>#form.date_id#</PRE></P></P>Error near line 1, column
> 13.<HR><P>Error resolving parameter <B>FORM.DATE_ID</B><P><P>The specified
> form field cannot be found. This problem is very likely due to the fact
> that you have misspelled the form field name.<P><P> <p>The error occurred
> while processing an element with a general identifier of (#form.date_id#),
> occupying document position (1:12) to (1:25).</p><P><P>Date/Time: Tue Sep
> 26 09:22:01 2000<BR>Browser: <BR>Remote Address:
> 172.24.2.15<P></TD></TR></TABLE><P>Please inform the <a
> href="mailto:[EMAIL PROTECTED]">site administrator</a> that this error has
> occurred (be sure to include the contents of this page in your message to
> the administrator).<P><HR></BODY></HTML>Connection closed by foreign host.
> [~]$
>
>
> any insight that you could offer would be appreciated...thanks...
>
> benji
>
> ---
> Benji Spencer
> Web Programmer
> Moody Bible Institute
> 312-329-2288
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.