Send SMS Text Messages to Mobile Phone PHP Tutorial

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 259

  • @lule75
    @lule75 4 роки тому +3

    You wont believe I learnt coding from Adam .... way back while building a social media website with flash.. thank you Adam

  • @LaurenBridges37
    @LaurenBridges37 8 років тому +45

    I woke up from a dead sleep, saw a notification for this tutorial, and am now wide awake. Thank you :)

  • @vrshop5841
    @vrshop5841 8 років тому +35

    finally someone puts this out there. thanks Adam

  • @nickfleming6775
    @nickfleming6775 7 років тому

    THANK YOU!!!!! for not telling us to buy an sms gateway like every other video on youtube about this topic

  • @melvinhilljr
    @melvinhilljr 8 років тому +5

    Excellent tutorial! Finally, a simple lesson that actually works without necessarily paying subscription fees. Adam, you are the man!!!!!

  • @hackerprime9722
    @hackerprime9722 3 роки тому +18

    We need a 2021 version of this video.

  • @jamesbarratt593
    @jamesbarratt593 7 років тому +2

    Dude I just subscribed. Thought I had before only guess not as it said subscribe. Glad I'd stumbled across this video. Watched one of yours in the past and I love the way you explain everything. So clear and precise. Take time to speak and explain in layman' terms how everything works. 10/10

    • @animerepository123
      @animerepository123 7 років тому

      hey james did you got it work ?

    • @jamesbarratt593
      @jamesbarratt593 7 років тому

      Not there yet, as doing other coding. I will though. I did however ring THREE mobile and try asking for their email to text system addresss and the woman in indian/English mostly indian, said you want send me an email. Damn it was like speaking to a brick wall for getting useable results from her. In the end I gave up. She just couldn’t understand. So then I googled hlr for a firm to detect the mobile numbers carrier, but none of them contacted me. I do know it costs either 10 pence OR 1 per text though which would add up quickly. Hope it was the 1pence but still every hundred texts is a pound and so on. Come the bill I’m sure it won’t be cheap.

    • @animerepository123
      @animerepository123 7 років тому

      oh that's pretty cool :D
      by the way i just want to ask the "$from" variable do you use you email ? i use my gmail in there and i also have a PHP file in a live host server. but i can't receive any sms.

  • @dannydetonator
    @dannydetonator 4 роки тому

    When you & up on a dark YT alley 02AM and njoy the robotic voice speaking unknown language. The bliss is real! Legaliz it!✌

  • @michaellike9542
    @michaellike9542 8 років тому +2

    Really like your Tutorials so easy to follow..........Please make a tutorial on how to generate PDF from PHP

  • @JasonThomas-bv2yw
    @JasonThomas-bv2yw 8 років тому +1

    What screen recording software do you use for these videos? Camtasia?

  • @empty_mirror
    @empty_mirror 2 роки тому

    Thank you so much for this information, it is really helpful.
    It works with different US sms gateway domains, tested on a web server (not localhost).
    Greetings

  • @bobantrajkovic4193
    @bobantrajkovic4193 8 років тому +2

    Hello Adam. How to send HTML decorated email using php?
    I have tried with many tutorials, but always send only text message.
    Can you help me please?

  • @muhammadtowhid8064
    @muhammadtowhid8064 8 років тому +1

    Hi Adam Khoury,
    Thank you very much for this excellent tutorial.
    I am going to develop a website for the purpose of social welfare around the world. I need to embed SMS system to verify the mobile numbers of the users.
    My questions:
    Do I need to buy and embed bulk SMS package in my website for it?
    or, Can I use the system you have shown in free of charge?
    Will the carrier charge the SMS recipients for the SMS my application sends?
    Cheers,
    Shahid

    • @getrekt3983
      @getrekt3983 7 років тому +1

      it depends on your recipients plan. most plans do not charge for texts coming in, however the same can not be said about all plans

    • @muhammadtowhid8064
      @muhammadtowhid8064 7 років тому

      Thanks for the reply.

  • @NzeluHub
    @NzeluHub 7 років тому

    I have been looking for this for a while! thanks a lot

  • @paulfarley9265
    @paulfarley9265 8 років тому

    Thanks Adam! Someone sort of asked this already, but is there a way to allow the user to respond to this? More than just "Stop". I mean in a way to allow conversations.

  • @hayneschristian
    @hayneschristian 5 років тому +9

    what should I write in "from" if i am running it from localhost

    • @mahendharp9759
      @mahendharp9759 4 роки тому

      Same doubt

    • @martinbautista1024
      @martinbautista1024 4 роки тому

      @@mahendharp9759 yeah same too.

    • @sparky5543
      @sparky5543 2 роки тому

      You have to install a 'mail server' to run with localhost. I assume your using WAMP, unless xampp uses localhost also :)

  • @bogerenasser3932
    @bogerenasser3932 8 років тому +2

    OH man you're a saviorur been biting my nails waiting for this....Can u make an entire mini series about this SMS topic??
    Also man have u ever considered making phonegap / apache cordova tutorials. This tech is growing at a fast rate......
    THANKS MAN FOR YOUR CONTRIBUTIONS.

  • @martincastillo5401
    @martincastillo5401 3 роки тому +1

    I know this was published more than four years ago. But still I tried the code and it didn't work me. Either the domains have changed or there is something in my php.ini file that needs tweaking.
    Just sharing.

  • @absynthe404
    @absynthe404 2 роки тому

    I'm trying this on my own web server running Nginx, and when I type the URL to the .php file, my browser just starts downloading it. I'm using Brave on Windows 10 and trying to send the text to a Samsung Galaxy S9+. I'm thinking I've misconfigured PHP on my server. So I tried again by making a symbolic link to sites available vs. sites enabled, and when I type the URL, I get the default Apache landing page. I am beyond confused at this point, and the only thing I can think of is the possibility that Apache is the default webserver that comes packaged with the base PHP installation. And I can't find my PHP initialization file. What's the most likely problem here?

  • @MireyElmofti
    @MireyElmofti 8 років тому +2

    Hi Mr Adam, following your tutorials like allways and i can't find the words to describe how usefull they are.. Can you make us a tutorial on how to convert bootstrap from LTR / RTL maybe at least for the nav bar and the texts ?? I know it's crazy to ask somebody that may not speak any of the languages that go from RTL to make such a tutorial but i know how expert you are and i am sure you can explain the basics at least.. Thanks alot .. Be safe for allways..

  • @Goodstatus171
    @Goodstatus171 Рік тому

    Sir sms me logo lagne ke laye kon sa cod lagate h
    Jise ke sms bank sms me aata h
    or bhi aap h jiske sms me logo aata h

  • @marcadrianfarorepalbor5342
    @marcadrianfarorepalbor5342 6 років тому

    Hi sir Adam good tutorial i was just wondering if you have used an sms gateway provider and how do you receive sms from cellphone no. to a data base
    Thanks

  • @GlobalInsightsForum
    @GlobalInsightsForum 7 років тому

    Hi Mr.Adam, this is very nice video. I want to start my own bulk sms services with own gatway. so please guide me. Thanks

  • @ronithabobon
    @ronithabobon 6 років тому

    thanks but do you need to register to the domain?

  • @japjap4902
    @japjap4902 8 років тому

    Good day! Is the recipient needs to pay every messages they will receive ?

  • @QeberoFX
    @QeberoFX 2 роки тому

    How can i get sms gateway domain for uk country

  • @dylangregory6752
    @dylangregory6752 6 років тому

    Hey Adam - Does it cost anything to send SMS messages using PHP? Or can you send 1000's of texts without having to pay per text?

  • @ChimobiHD
    @ChimobiHD 8 років тому

    Any chance you could do an example of an upvote downvote system for posts/status updates on a website like Reddit?

  • @wkowalski
    @wkowalski 7 років тому

    How would I implement this in a WordPress site? I've tried creating a PHP template with this code but it doesn't work. I also tried setting it up as a function.

  • @nobirhossain3794
    @nobirhossain3794 7 років тому

    Hey Adam
    sorry for disturbing
    i am curious that how you get https in your website ?? please reply i want to know that :D
    advance Thanks :D

    • @hylight5157
      @hylight5157 6 років тому

      Yeah, thats called SSL (Secure Socket Layer) try using sslforfree.com, its free!

  • @calebcadainoo
    @calebcadainoo 8 років тому

    Its not working here in Ghana. But is there anyway to get it to work @Adam ?

  • @henrydeveloper4631
    @henrydeveloper4631 7 років тому

    hi, do you have a tutorial on sending bulk emails with php mailer?

  • @youpattube1
    @youpattube1 8 років тому

    I am always at the bottom of the class, so I don't mind asking dumb questions. As I understand this, I would send the .php file to be among the files used by my domain name, on the server. Is that right ?
    And if I wanted the message to go to Mary, I would rename the file from example to 'Send to Mary.php', then when I type in the domain address/Send to Mary.php in the address bar and hit go, it will execute that .php file and send a message to Mary. Is that right ?
    And if I wanted to send it out to multiple people, I would just have more than one "to" line (each with a different phone #). Is that right ?

  • @General_Aladeen
    @General_Aladeen 8 років тому +1

    Can you teach us how to make a swipe or touch event in JavaScript? Thank you.

  • @papes7442
    @papes7442 6 років тому

    Can you send bulk sms with this method ? Like sending 1000 sms with a delay of like 5 seconds per text

  • @judithpearl9402
    @judithpearl9402 4 роки тому

    i really need to use this for my project . thanks @ADAM

  • @levikisaka2230
    @levikisaka2230 6 років тому

    Can you do a video on changing the status of a taxi if it is assigned or unassigned please

  • @MOHAMMADHUSSAINMALIK
    @MOHAMMADHUSSAINMALIK 6 років тому

    Please help. Do we need to signup on carrier or not. Because i have tried this but it is not working . And also tell me a free carrier

  • @YamekDrope
    @YamekDrope 8 років тому

    Adam you are the best, i just have one question:(
    Is that's going to be free? In fact How does that works?
    I have seen some websites where they offered different packages of number of texts in exchange of $$. Is texting online free ?

  • @nahidulislam9502
    @nahidulislam9502 4 роки тому

    bro I am looking for a tutorial that help me to send sms after appointment submit.
    I wanna build a website for doctors appointment, in appointment page anyone can select department and doctors name that load from mysql database, and they will provide there Name and phone and name in the appointment page. when someone submit the appointment he/she will get a sms in his mobile (phone number that he provide in the apointment page). please help me.

  • @winnybatard.3374
    @winnybatard.3374 8 років тому

    Hi Adam,
    I was wondering if you could add a video for us on how to capture user's webcam and stream the image you captured (thml, javascript). there are some videos out there for some reasons, I am not comfortable with them.
    thank you in advance.
    Winnie,

  • @squish554
    @squish554 5 років тому

    Do you have to have a phone number for this to work?

  • @shaikhsaloarhussain4133
    @shaikhsaloarhussain4133 4 роки тому

    can i write this code in wordpress. if yes then please..let me know in which file can i write this code

  • @DaisukeABP
    @DaisukeABP 4 роки тому

    Is there any way i can use this for Philippines? I don't know about the SMS Gateway

  • @tonyraoub3200
    @tonyraoub3200 6 років тому +2

    MR Adam, i suppose you are arab or lebanese specifically.
    I just need to see what to put in "TO: if the receiver is in Lebanon" MTCTOUCH Carrier or ALFA Carrier

  • @chanelas292
    @chanelas292 4 роки тому +1

    Sir, can you mke a tutorial for, seding sms using php with sensor and node mcu? I really need now

  • @krimokrimo4901
    @krimokrimo4901 5 років тому

    Can i make a short call validation number place of this SMS validation ?

  • @kerrooo1430
    @kerrooo1430 8 років тому

    alot of people put fake adres or number. How we gonna detect that? ping the site that they write first or try to send message to email first or how?

  • @onrightside
    @onrightside 7 років тому

    I am in a different country, How do I know , where to get my career information? will cost any way, etc...

    • @hylight5157
      @hylight5157 6 років тому

      It will not cost you anything, try these two links, maybe you'll find your carriers gateway domain: www.spectrox.com/sms.html or www.opentextingonline.com/emailtotext.aspx

  • @araghafur1593
    @araghafur1593 6 років тому

    how to do in in my localhost??? please answer i don't have host .........

  • @nueljunuel5802
    @nueljunuel5802 5 років тому

    How can I program at I call you schedule an SMS to my clients?

  • @JohnSmith-lb9nx
    @JohnSmith-lb9nx 6 років тому

    how can you make this work in a local host? what can we change in the php.ini file to enable it? can it work if we use hmailserver and squirrelmail??

  • @nemothekitten3994
    @nemothekitten3994 2 роки тому

    sir can we get a 2022 version of this?

  • @ianpaul0520
    @ianpaul0520 7 років тому

    Hi Sir How do I know what is my network carrier domain? im from Philippines. and my carrier is Globe, This will help to my capstone project alot.

    • @hylight5157
      @hylight5157 6 років тому

      63##########@pmms.globe.com.ph < thats the gateway domain, and the receiver needs to send a message "ON" to 2300 to active something, I don't know what it is that they have to activate.

  • @ISOnepal
    @ISOnepal 4 роки тому

    Is there cost to do this ?

  • @manishadwani386
    @manishadwani386 8 років тому +6

    please make a tutorial on how to make 5 start rating in javascript

  • @creativemindshere
    @creativemindshere 8 років тому

    should this work on something mamp ? or do you need hosting?

    • @getrekt3983
      @getrekt3983 7 років тому

      you can use your email address to send emails to these gateways but with hosting you can send anonymously

  • @PrincessLibra16
    @PrincessLibra16 7 років тому

    Sad face here :( The first part is not working for me. I dont know if its my webhost or if I'm missing something else.

  • @yexiu6653
    @yexiu6653 5 років тому

    what would i put in database ?

  • @devsabuj4818
    @devsabuj4818 4 роки тому

    Ek website banani hai...php MySQL mai... Help milega?

  • @shriprakash2558
    @shriprakash2558 6 років тому

    My network is Airtel. So what will my career be?

  • @kavindamk
    @kavindamk 8 років тому +2

    Nice tute mate.. does this work for any country?

    • @MrShawnlloyd
      @MrShawnlloyd 8 років тому +1

      Nope, you will have to test it in your country to see if it will work for you.

    • @hylight5157
      @hylight5157 6 років тому

      It does, only if that country has a service provider, then you just need to grab the SMS gateway for that service provider

  • @AllinOneArchive
    @AllinOneArchive 8 років тому +3

    nice and easy ... but how mobile company going to charge me to sending messages form the scripts ?

    • @hylight5157
      @hylight5157 6 років тому

      No, they won't. It's basically sending an email, but instead the receiver will receive it as a sms.

    • @SrujanLakkam
      @SrujanLakkam 5 років тому

      @@hylight5157 is it working?

  • @anthony2800
    @anthony2800 6 років тому +2

    Is there a way to get an email as well as the form because every time I try with it sending to both pathways it only sends it to the 2nd option

    • @anthony2800
      @anthony2800 6 років тому

      Email as well as the text*

  • @kounelios13
    @kounelios13 7 років тому

    How ca i get the domain names for greek carriers
    ?

  • @ramchandramishra1469
    @ramchandramishra1469 7 років тому

    hello sir , will u tell me how to setup sendmail.ini and php.ini to use mail function.

  • @timonagy6070
    @timonagy6070 7 років тому

    whats program doing on ?

  • @akashbhardwaj6769
    @akashbhardwaj6769 6 років тому

    In which text editor this app is made??

  • @mqdesigns3319
    @mqdesigns3319 7 років тому

    But How to know the SMS Gateway Domain of Pakistan, India or Another state??? except US!!

  • @jesuslara6972
    @jesuslara6972 6 років тому

    When he starts talking about the domain names for the companies, do we use our own or who's and where can i find a list?

    • @americancitizen748
      @americancitizen748 4 роки тому

      You have to add the domain name of the carrier of the person you are sending the text to. So, unfortunately, if you don't know that then you can't send a message!

  • @JNET_Reloaded
    @JNET_Reloaded 4 роки тому

    Can you make a tut on how to make a video chat web app for free like no 3rd parties or api's without webrt or io or node js or npm or any other random crap?

  • @podster12
    @podster12 7 років тому

    So that means, I have to have my line/number active so it can send sms?

  • @agldz1895
    @agldz1895 2 роки тому

    will it work in 2022?

  • @aseeawan2946
    @aseeawan2946 7 років тому

    i couldn't find your JSON series. plz guide me sir

  • @HappySeller
    @HappySeller 8 років тому +1

    Using this script you can send SMS using free web hosting? Or what?

  • @ekimlim6810
    @ekimlim6810 7 років тому

    hey sir this is free? at least 100 free text everyday and reload another day?

  • @XPyzon
    @XPyzon 3 роки тому

    The gateway is free? Is it still update?? Who can I use his number to test it ? Anyone... Hello
    So that I'll know what am coding to allow it to send buck 🥴🥴🥴

  • @kwakuamoh-aboagye
    @kwakuamoh-aboagye 6 років тому

    Free or I have to pay for API or anything

  • @steelrodax
    @steelrodax 8 років тому

    404 lol... Thats why you are the man, i didnt think about it but i can imagine if you leave the page up

  • @mansichandrakar9702
    @mansichandrakar9702 6 років тому

    Kya sir ye coding mere ko de sakte he kya

  • @daredevilrbl1254
    @daredevilrbl1254 4 роки тому

    What is carrier?

  • @kinsleyKJV
    @kinsleyKJV 8 років тому

    Hi Adam can you make one on how you can use php with firebase database

    • @muhammadkhizar5546
      @muhammadkhizar5546 5 років тому

      You can use get data from firebase through php curl.
      www.php.net/manual/en/book.curl.php Read this.

  • @Vgarden-mo3xd
    @Vgarden-mo3xd 4 роки тому

    How to create playlists attach with video player in php

  • @utkarshjaiswal8154
    @utkarshjaiswal8154 7 років тому

    how can i send bulk sms for free with the shop name is their is any way to do it

  • @cymburyoox6235
    @cymburyoox6235 7 років тому

    how to get the sms domain of your carier?

  • @shahidrasheed1296
    @shahidrasheed1296 8 років тому

    keep it up bro nice one

  • @RichardHema
    @RichardHema 7 років тому

    Thank you Adam

  • @hitlarrajbhandari
    @hitlarrajbhandari 8 років тому

    Nice one adam..

  • @vipashabidla
    @vipashabidla 4 роки тому

    Will it cost the client

  • @hmdmhyd
    @hmdmhyd 6 років тому

    does it work in Malaysia?

  • @DaneNanahara
    @DaneNanahara 3 роки тому

    i wish this have part 2 where a human can enter a phone number then a site stored in a sql database then checks if the number is already in database it will not receive txt anymore. for example free voucher

  • @SrujanLakkam
    @SrujanLakkam 5 років тому

    It is not sending text to mobile.what shall i do?

  • @wmurray003
    @wmurray003 7 років тому

    Couldn't you simply send the message to ALL of the SMS GATEWAY DOMAINS instead of choosing one or setting up the "HLR lookup API? What harm would it cause?

    • @DeadsupraEE3
      @DeadsupraEE3 7 років тому +1

      I'm just learning how to code as well but I would assume if you have a huge list of numbers it can slow down your server or maybe even cost you extra for the service of sending extra text.

    • @wmurray003
      @wmurray003 7 років тому

      ***** I thought about it after the fact and I came to the same possible conclusion...thanks for confirming.

  • @johnmahugu
    @johnmahugu 7 років тому

    doesnt work in my country (kenya), all the service providers have locked this feature, its easier to just use the carriers API in php to send msgs or to buy a GSM modem and send texts from your own local server

  • @RealClevelandBrown
    @RealClevelandBrown 8 років тому +2

    Hey Adam. Can you show how to send random verification numbers as additional security to log into a website using php? Something like how Google/Godaddy does as an additional layer of security for its members.

    • @AniltonNeto
      @AniltonNeto 8 років тому +7

      +uradamnfool2 this is called two step authentication and for to do this you must to make sure some basic concepts. First generate a random number from php range. It's depends on what you really like and it should be unique, then every time that you send the number you should save (on database) the number at the very precise moment you sent it (The security reason). After the user insert this number on login screen you update the number on database as used. Only you have to garante is when the api fails and the user did not receive the number then you have to generate the number like 3 or 4 times. After the user use one of those number then you should update our set a time to use those number.

    • @RealClevelandBrown
      @RealClevelandBrown 8 років тому

      +Anilton Neto I appreciate you explaining the process. I learn more visually, though. I guess I'll need to check UA-cam for any tutorials. Thanks.

    • @sncabs4916
      @sncabs4916 7 років тому +1

      its simple create random string with function rand(); and store this value to database

    • @MuhammadUsman-rs2le
      @MuhammadUsman-rs2le 5 років тому +1

      //

  • @ernestmurimi950
    @ernestmurimi950 6 років тому

    do you have kenyan one?

  • @smoua4588
    @smoua4588 Рік тому

    I tried this. Doesn't work for me. Anyone tried it recently and got it working?

  • @awaisshafiq7129
    @awaisshafiq7129 8 років тому

    can you make tutorial about making calls..?

    • @MrShawnlloyd
      @MrShawnlloyd 8 років тому +1

      +Awais Shafiq You don't know how to make a phone call?

    • @awaisshafiq7129
      @awaisshafiq7129 8 років тому

      +MrShawnlloyd
      Not phone call.... Call from webpages..

    • @beshamdewan2607
      @beshamdewan2607 4 роки тому

      Send SMS From PHP Watch This Video ua-cam.com/video/YVu16xaoxLI/v-deo.html and also search in channel for making call

  • @alamgirkhan7285
    @alamgirkhan7285 8 років тому

    Nice Job Thanks

  • @blasivanjustinl.5961
    @blasivanjustinl.5961 2 місяці тому

    Still working?