Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 9 of 9

Thread: PHP sms script

  1. #1
    New Coder
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    1
    Thanked 0 Times in 0 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
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    DNS cannot be resolved.

  • #3
    New Coder
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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; 08-19-2011 at 04:10 PM.

  • #4
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    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.

  • #5
    New Coder
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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...

  • #6
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Quote 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://codingforums.com/small-projects-quick-fixes-changes/

  • #7
    New Coder
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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'] = "talk2jerry4christ@yahoo.com";

    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

  • #8
    God Emperor Fou-Lu's Avatar
    Join Date
    Sep 2002
    Location
    Saskatoon, Saskatchewan
    Posts
    16,994
    Thanks
    4
    Thanked 2,662 Times in 2,631 Posts
    Quote 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'] = "talk2jerry4christ@yahoo.com";

    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?

  • #9
    New Coder
    Join Date
    Aug 2011
    Posts
    42
    Thanks
    1
    Thanked 0 Times in 0 Posts
    let me try that


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •