Hi, I'm toying with http://www.mtnsms.com/ which is a SMS messaging service. You do the normal thing of logging in, with a username and password. Then you get to fill in a form and send SMS messages to mobile phones. I want to be able to use ColdFusion to fill in the form, and do the submitting thing for me. So I use <cfhttp method="post"> and some <cfhttpparams> as such... <cfhttp url="http://www3.mtnsms.com/sms/xsms.asp" method="post"> <cfhttpparam name="smsToNumbers" value="44796xxxxxxxx" type="FORMFIELD"> <cfhttpparam name="smsMessage" value="hello dan, here is my message" type="FORMFIELD"> <cfhttpparam name="smsSig" value="1" type="FORMFIELD"> <cfhttpparam name="smsSigDyna" value="From Daniel" type="FORMFIELD"> </cfhttp> Of course it doesn't work, as the page it submits to is doing some kind of check for cookies I would assume. Brushing up on my <cfhttpparam> I see that I can submit data, as though it were a cookie, just what I need. This is the part where I come unstuck. The cookie on my harddisk is something like (but not quite)... mtnsms%2Ep%2E2 color=0&cn=dan%40liveinfo%2Ecom&akey= mtnsms.com/ 0 1x8x5x2x3x 3x1x8x5x 6x8x1x8x8 2x3x3x0x * What's the correct way to pass all that info as a <cfhttpparam>? The carriage returns are part of the cookie, in notepad it's all on one line, with that odd "I don't know what this is" solid black block thing. Does it translate to:- <cfhttpparam name="mtnsms%2Ep%2E2" value="color=0&cn=dan%40liveinfo%2Eco%2Euk&akey=" type="cookie"> and can I disregard the rest of the info? I assume after that I just need to get the "CGI.HTTP_REFERER=" sorted out? Cheers, r'grds, Dan. <ps> The main reason for this is that I'm not keen on the colour yellow. </ps> This message is intended only for the use of the person(s) ("the intended recipient(s)") to whom it is addressed. It may contain information which is privileged and confidential within the meaning of the applicable law. If you are not the intended recipient, please contact the sender as soon as possible. The views expressed in this communication may not necessarily be the views held by Live Information Systems Limited. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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

