Web Analytics Made Easy -
StatCounter PHP sms script - CodingForum

Announcement

Collapse
No announcement yet.

PHP sms script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • PHP sms script

    Hi.I currently use the sms service from bbnsms.com, but now I want to connect to its API from my site so I can send sms directly from my website. I was only given this guide to develop my script:

    http://www.bbnsms.com/documentations...ication_V1.pdf

    Pls could someone help me take a look at it and help me with a php script that'll fulfill their conditions.

    Appreciate

  • #2
    DNS cannot be resolved.
    PHP Code:
    header('HTTP/1.1 420 Enhance Your Calm'); 
    Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

    Comment


    • #3
      maltontech.com/BBN_HTTP_Specification_V1.doc

      sorry really finding it hard getting this file attached. But I think I've found a way around it....appreaciate
      Last edited by jerry4all; Aug 19, 2011, 11:10 AM.

      Comment


      • #4
        Standard rest. Since you need to provide it with your username and password information within a GET, the best thing to do would be to CURL from your own scripts to send that data across, or you can use a socket instead of CURL if you wanted.
        PHP Code:
        header('HTTP/1.1 420 Enhance Your Calm'); 
        Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

        Comment


        • #5
          Ok...thanks I really appreciate the reply...I knew it was going to require something way beyond my skill level..I'm actually a php rookie.Could I be helped with a complete script that do the job, I've really run out of ideas...Will really appreciate any help...

          Comment


          • #6
            Originally posted by jerry4all View Post
            Ok...thanks I really appreciate the reply...I knew it was going to require something way beyond my skill level..I'm actually a php rookie.Could I be helped with a complete script that do the job, I've really run out of ideas...Will really appreciate any help...
            If you are looking for a custom created scripts, you may post for paid help here: http://www.codingforum.net/forumdisplay.php?f=56
            PHP Code:
            header('HTTP/1.1 420 Enhance Your Calm'); 
            Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

            Comment


            • #7
              I've been able to get the script almost working but for one little problem....the username to log into the sms gateway is an email address,and I had to pass it into a variable like this:

              $param['username'] = "[email protected]";

              but knowing that encoding url will output the "@" as some "%40 which makes me get a "username invalid" response...please what can I do to make out the url with the username as it is above? thanks again

              Comment


              • #8
                Originally posted by jerry4all View Post
                I've been able to get the script almost working but for one little problem....the username to log into the sms gateway is an email address,and I had to pass it into a variable like this:

                $param['username'] = "[email protected]";

                but knowing that encoding url will output the "@" as some "%40 which makes me get a "username invalid" response...please what can I do to make out the url with the username as it is above? thanks again
                Does it work if you do not urlencode it?
                PHP Code:
                header('HTTP/1.1 420 Enhance Your Calm'); 
                Been gone for a few months, and haven't programmed in that long of a time. Meh, I'll wing it ;)

                Comment


                • #9
                  let me try that

                  Comment

                  Working...
                  X