I am trying to automate some posting to a message board where we place announcements
(no spam). I am able to get the entire form to populate itself remotely but i am
confused as to how i can make the form on the remote server submit itself... or if
that is even possible?
KP
-----Original Message-----
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]
Sent: Wed 8/27/2003 4:25 PM
To: CF-Talk
Cc:
Subject: RE: CFHTTP to remotely submit form?
Kris,
Not suere what you are after here. Do you mean you have a form in a browser
(i.e. client) that you have populated and you want to submit it to a server
automatically? If you just want to post to a server using cfhttp you can do
that without bothering with a form at all ... the handling server will see
the post submission and posted variables.
<Cfhttp url="http://www.somedomain.com/someform.cfm" method="post">
<cfhttpparam type="FORMFIELD" name="formField1"
value="#somevariable1#">
<cfhttpparam type="FORMFIELD" name="formField2"
value="#somevariable2#">
</CFHTTP>
Of course - its up to you to handle the response by unpacking the
cfhttp.filecontent and header variables.
-Mark
-----Original Message-----
From: Kris Pilles [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 27, 2003 2:44 PM
To: CF-Talk
Subject: CFHTTP to remotely submit form?
Can I remotely submit a form with cfhttp. I have been able to
successfully fill the form in, I just odnt know how to autmoate the
submission
Any ideas?
KP
Kris Pilles
Website Manager
Western Suffolk BOCES
507 Deer Park Rd., Building C
Phone: 631-549-4900 x 267
E-mail: [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics.
http://www.fusionauthority.com/signup.cfm