Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

send SMS with PHP or python

Options
  • 05-12-2008 4:39pm
    #1
    Registered Users Posts: 872 ✭✭✭


    Hi,

    Do you need a special server configuration to send SMS's from a website ? or is it free and easy :D

    Also, could i post data to a script on a website through an SMS, i.e. to update a football score on a sport website, for example

    Thanks for any info


Comments

  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    Its not as simple as that. Some hosts (my own) offer a free SMS gateway API server via their own service.

    Webtext: http://webtext.com/ seem to be the best SMS gateway service around. They provide you with an interface / API to send SMS's via.

    You certainly won't find any free service anyways. I did do a script for logging into your own O2 account and sending SMS that way. I havn't updated it for the site change though.


  • Registered Users Posts: 21,611 ✭✭✭✭Sam Vimes


    i have a script that'll work for webtexts for all networks if you want it


  • Closed Accounts Posts: 19 Joao Ratao


    have a look at http://www.clickatell.com. It works really great, their prices are alright and you have loads of diferent options to send SMS such as HTTP, XML, FTP, API, etc. IMO they are by far the best SMS gateway provider around.

    I'm using it in an classic asp environment but I recall reading something about PHP in the manuals. you will have to install the API on the webserver machine.


  • Closed Accounts Posts: 4 dananos


    I see postings above recommending Esendex and Clickatell, both of these are paid-for systems, you can get free versions, or even affiliate versions, that pay you.

    Try going to http://ireland.freebiesms.com, clicking on "Custom development", then "Developers", and it has a good few examples on how to send sms for free.

    Dan


  • Closed Accounts Posts: 2,046 ✭✭✭democrates


    dananos wrote: »
    I see postings above recommending Esendex and Clickatell, both of these are paid-for systems, you can get free versions, or even affiliate versions, that pay you.

    Try going to http://ireland.freebiesms.com, clicking on "Custom development", then "Developers", and it has a good few examples on how to send sms for free.

    Dan
    According to the page http://ireland.freebiesms.com/developers.aspx the free sms sent costs the recipient if they opt to read it, the amount is given as "variable".

    Some call it a scam
    Just seen it. The small print right at the bottom of the page - It is
    a SCAM!
    "Standard text messages to Orange, O2 (UK) and T-Mobile are free to
    send, other networks cost 60p to send. For Messages sent to O2,Orange
    and T-Mobile networks, the recipient will have the option to pay £5 to
    read the message. Users must be 16+, this is not a subscription
    service."
    The £5 is not mentioned at the bottom of the Irish or co.uk site now so either it was removed or the poster was lying or mistaken.

    Has anyone used this and can say how much the reverse charge is to Irish recipients?

    Edit: archive.org copy from 9 Feb 07 :
    For Messages sent to O2,Orange and T-Mobile networks, the recipient will have the option to pay £5 to read the message.
    Seems a bit steep.


  • Advertisement
  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    democrates wrote: »
    According to the page http://ireland.freebiesms.com/developers.aspx the free sms sent costs the recipient if they opt to read it, the amount is given as "variable".

    Some call it a scam
    The £5 is not mentioned at the bottom of the Irish or co.uk site now so either it was removed or the poster was lying or mistaken.

    Has anyone used this and can say how much the reverse charge is to Irish recipients?

    Edit: archive.org copy from 9 Feb 07 :Seems a bit steep.
    +1 going to say a similar thing myself. I was a little suspicious too when OP signed up especially just to reply to two SMS threads immediately.


  • Closed Accounts Posts: 2,046 ✭✭✭democrates


    Webmonkey wrote: »
    +1 going to say a similar thing myself. I was a little suspicious too when OP signed up especially just to reply to two SMS threads immediately.
    Puzzling case ok so looking at the profile there was also an older post to motors that attracted the wrath of mods though I'm not sure why, and a wiki install query on the military forum.

    What's the story dananos, trying to be helpful or lost your way down a dark get rich quick road?

    Free sms would be great, hard to see the mobile cartel walking away from easy money though.


  • Registered Users Posts: 246 ✭✭donnaille


    Joao Ratao wrote: »
    have a look at http://www.clickatell.com. It works really great, their prices are alright and you have loads of diferent options to send SMS such as HTTP, XML, FTP, API, etc. IMO they are by far the best SMS gateway provider around.

    I'm using it in an classic asp environment but I recall reading something about PHP in the manuals. you will have to install the API on the webserver machine.
    I've used clickatell with PHP for a college project,did the job fine, the rate for sms will depend on what amount of credits you buy from what I remember.


  • Registered Users Posts: 2,364 ✭✭✭Mr. Flibble


    You could just use cabaal.org interface if you have a Meteor, O2 or Vodafone account.

    http://cabaal.org/cabbage/d.php?u=YOURNUMBER&p=YOURPIN&s=m&ph=TO_NUMBER&d=&m=MESSAGECONTENT

    eg.
    http://cabaal.org/cabbage/d.php?u=0851234567&p=1234&s=m&ph=0851234567&d=&m=testmsg

    Use s=m for meteor, s=o for O2 and s=v for vodafone.

    Then it is as simple as performing a GET request (loading a web page).


  • Registered Users Posts: 21,611 ✭✭✭✭Sam Vimes


    if you're going to do that you'd be better off using www.cabbagetexter.com/send.php because i'm gradually migrating over to that site and the cabaal.org one won't be there forever


  • Advertisement
  • Registered Users Posts: 2,364 ✭✭✭Mr. Flibble


    Sam Vimes wrote: »
    if you're going to do that you'd be better off using www.cabbagetexter.com/send.php because i'm gradually migrating over to that site and the cabaal.org one won't be there forever

    Any chance you can leave the old scripts there - for legacy code...?


  • Registered Users Posts: 21,611 ✭✭✭✭Sam Vimes


    i'm leaving it up for the forseeable future but it just won't necessarily be there forever. Cabaal said he doesn't use his webspace for much so i didn't want him to think he had to keep it going just for me.

    The cabaal script actually just forwards the request on to the cabbagetexter one anyway so you'd get slightly better performance by changing to the new url


  • Closed Accounts Posts: 2,917 ✭✭✭towel401


    i wrote a thing before that could send SMS through python using AT commands over bluetooth. this requires a phone though. you could also get something to run on a nokia s60 phone and perhaps a client on the phone to accept the messages since bt has a fairly limited range. before this would have cost too much but now most networks have free texts


  • Registered Users Posts: 4 seanie_pc


    Hi folks,

    so am I right in saying that if it says "Free" its a scam ?


  • Closed Accounts Posts: 21 Marks12


    Webmonkey wrote: »
    I did do a script for logging into your own O2 account and sending SMS that way. I havn't updated it for the site change though.

    Does anyone have a script like this that can login to any provide site and send a text message.

    would be brilliant if it can be PHP...

    I want to intergrate this in to my current system I am making. reminders.

    Any help thanks.


  • Closed Accounts Posts: 1,397 ✭✭✭Herbal Deity


    http://o2sms.sourceforge.net/

    Works for Vodafone and Meteor also.

    Incredibly handy utility.


  • Closed Accounts Posts: 21 Marks12


    But can this script be used with in PHP.

    As in take information from the SQL database. Us that information to send possivic message from the database each time a button is clicked on the site?


  • Registered Users Posts: 9,579 ✭✭✭Webmonkey


    I don't see why not. You can call the perl script using the PHP script. I'm sure there is a perl interpreter on the server.

    I created a PHP script a long time ago that done job nicely but the site has being updated since.

    It's easy enough once you get the hang of cURL. Might be worth looking up.

    The lads at cabbage texter have an updated version anyways so you might like to talk to them.


Advertisement