ColdFusion SMS Script

Code Sample:

Page 1.
<form action="Page2" method="post">
To:<input type="Text" name="to">

Message:<input type="text" name="text">


<input type="submit" value="send">
</form>

Page 2.
<cfoutput>
<cfhttp url="http://api.aussiesms.com.au/?sendsms" method="POST" resolveurl="false">
<cfhttpparam type="FORMFIELD" name="mobileID" value="your mobile ID for the site">
<cfhttpparam type="FORMFIELD" name="password" value="your password">
<cfhttpparam type="FORMFIELD" name="from" value="Who you want it to be from">
<cfhttpparam type="FORMFIELD" name="text" value="message">
<cfhttpparam type="FORMFIELD" name="to" value="Who's it going to?">
<cfhttpparam type="FORMFIELD" name="msg_type" value="SMS_TEXT">
</cfhttp>
</cfoutput>