OK, a quick lesson in CFHTTP;
First of all, if you're posting to a form, you have to treat it as though
your CF code IS the form, therefore you have to replicate all of the form
fields
So, we treat the CFHTTP command list like we're building the form;
<cfhttp method="post" url="www.xtremetxt.com/common/sms_new.asp">
<!--- the FORM command --->
<cfhttpparam name="matesName" type="FormField" value="Eyad">
<!--- the first field - name --->
<cfhttpparam name="receiver" type="FormField" value="12345">
<!--- the second field - mobile phone number --->
<cfhttpparam name="yourName" type="FormField" value="Philip">
<!--- the third field - your name --->
<cfhttpparam name="excuse_preview" type="FormField" value="Message">
<!--- and lastly, the message field - this is a TextArea, so it can contain
returns --->
</cfhttp>
<!--- close off the form --->
Remember that since you're "virtually" posting a form, you don't need a
submit button
That SHOULD post to their form - I'm not guaranteeing it'll work as they
might have some precautions up... Just get rid of my comments
Please note that I'm not condoning the use of other people's generosity and
use their SMS systems to post hundreds of messages, as I've said, it's
better to setup your own systems with the vendors - I'm just helping you
with your CF...
Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133
"Websites for the real world"
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists