This message was edited by Moderator at 2006-2-24 7:42:56
: I know nothing about SMS either

. I came across that website, and suddenly thought it'd be nice if I could write my own script to do it, rather than have to use theirs

.
:
: I don't know how they do it for free though... Surely you have to pay for these texts that are sent!? As for the HTTP request, then yes, if say Orange, for example, had an interface/web service to their network, then I agree it would be relatively easy to do.
It looks like they offer a limited free service but also a pay service, where I assume you're able to send more or bigger messages.
At any rate, here is an example of submitting form data in Python (from the module documentation of httplib):
>>> import httplib, urllib
>>> params = urllib.urlencode({'spam': 1, 'eggs': 2, 'bacon': 0})
>>> headers = {"Content-type": "application/x-www-form-urlencoded",
... "Accept": "text/plain"}
>>> conn = ht
tplib.HTTPConnection("musi-cal.mojam.com:80")
>>> conn.request("POST", "/cgi-bin/query", params, headers)
>>> response = conn.getresponse()
>>> print response.status, response.reason
200 OK
>>> data = response.read()
>>> conn.close()
You can find the field names and URL, etc on the sms site. I don't know if they'd be happy with you scripting this kind of thing, though, you may want to ask them.
infidel
$ select * from users where clue > 0
no rows returned