How to send SMS using PHP | Textlocal API

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ก.ย. 2019
  • Learn how to send SMS text messages using PHP. You can use this to send text messages to your website members, clients or customers from a web based platform. Also you can use this to send OTP confirmation messages. I am using textlocal API to send SMS.
    Learn PHP Online with Me:- bit.ly/LearnPHPOnline
    To help and support me(Donate Me):- bit.ly/DonateProgrammingWithV...
    Download source code from here bit.ly/PHPSMSAPI
    #PHP #PHPSMSAPI #PHPTextLocal
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅Subscribe: / @programmingwithvishal
    I am a Digital Marketer by passion and a Developer by profession. With experience and expertise spanning around 10 years, in the Digital space.
    Good amount of experience in development of web applications using PHP, .Net, JavaScript Library’s, Frameworks, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital viral marketing, technology innovation's, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise.

ความคิดเห็น • 195

  • @kanchannawkar5739
    @kanchannawkar5739 2 ปีที่แล้ว +4

    Hello sir, Your Explanation is too good..!

  • @ShakeelAhmad-sc9gv
    @ShakeelAhmad-sc9gv 3 ปีที่แล้ว

    Best youtube channel forever.

  • @minko8735
    @minko8735 2 ปีที่แล้ว

    Tq sir....I always follow ur video..and it's really helpful for me....again tq sir

  • @viralwebsolutions5977
    @viralwebsolutions5977 3 ปีที่แล้ว

    Bahut Accha content banate ho sir aap

  • @prithvishaw6834
    @prithvishaw6834 4 ปีที่แล้ว +8

    Excellent Video. I really learned from this video. Thank you Sir

  • @suvendubiswal6820
    @suvendubiswal6820 3 ปีที่แล้ว

    I m biggest fan bro of u... U really great coder... And please make a video for push add api

  • @karimkherfallah9687
    @karimkherfallah9687 4 ปีที่แล้ว +1

    Good job , Thank you very mutch

  • @spoorthikulkarni574
    @spoorthikulkarni574 3 ปีที่แล้ว +6

    Hello Thank you for the video but
    I am neither getting an error nor a sent confirmation. I have checked the API Key and the code its all correct.
    Any idea how do I resolve it?

  • @ashutoshastrologyhoroscope8594
    @ashutoshastrologyhoroscope8594 2 ปีที่แล้ว

    Thank you

  • @alenkjoseph8680
    @alenkjoseph8680 4 ปีที่แล้ว +1

    Thank you It's working fine

  • @legendshaveit047
    @legendshaveit047 ปีที่แล้ว

    Excellent Video.

  • @pravinsatpaise3452
    @pravinsatpaise3452 ปีที่แล้ว +1

    Hi sir thank you for the excellent video and information shared with us and please let me know if you are available, I want to hide that message shows when the user hit submit button and that pop up message comes on the screen, I want to hide it so what can I do for it...

  • @beapakistani6233
    @beapakistani6233 2 ปีที่แล้ว +1

    Hello vishal i hope you are doing well,
    Thats the nice video i want to ask is there anyway to integrate our sim to send msg on number.

  • @rajabhishek4973
    @rajabhishek4973 4 ปีที่แล้ว +1

    Nice sir

  • @arvindprajapati1276
    @arvindprajapati1276 3 ปีที่แล้ว +23

    Array{"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}

  • @KamalSharma-zw3fl
    @KamalSharma-zw3fl 4 ปีที่แล้ว +1

    Thanks sir

  • @darshanarane6355
    @darshanarane6355 4 ปีที่แล้ว +2

    Thank you Sir..

  • @SunilKumar-po8lc
    @SunilKumar-po8lc 3 ปีที่แล้ว +2

    Sir Can You Make a Video On firebase for SMS integration and Push notification

  • @veedfriendforever5990
    @veedfriendforever5990 3 ปีที่แล้ว +1

    sir yaha per koi DLT process krni rahegi phle then hm authorize honge sms send krne k liye

  • @rinku2004ful
    @rinku2004ful 4 ปีที่แล้ว +1

    Sir aap php teach krte hai kya. Bahut acha samjhate hai aap. Shuru se php padha payege ap

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      Thanks Ranveer.
      Please share your details from below link.
      91weblessons.com/youtube_download/learn_php_online.php

  • @manojmanral138
    @manojmanral138 3 ปีที่แล้ว

    I am trying to run it on aws but it's not working. Do i have to do additional setting for aws? plz help

  • @ravinakhate8757
    @ravinakhate8757 2 ปีที่แล้ว

    Sir jis number se register kiye textlocal website me ussme recharge hona jruri h kya

  • @mohitpratapmehra7225
    @mohitpratapmehra7225 3 ปีที่แล้ว +1

    sir muje 3 fields(name, order, mobile) ko send krna as message.. it is possible

  • @mohammadzohaib1782
    @mohammadzohaib1782 4 ปีที่แล้ว

    Excellent..but i want send sms on two or more numbers...plz one video make on this issue

  • @bhagyalaxmiyadav3590
    @bhagyalaxmiyadav3590 3 ปีที่แล้ว +1

    Hello sir thank you for information .I have a user table with date of birth. I need to send them sms and whatsapp to wish for their birthday. When i use a php code it only sends them only when i execute that php file. How to trigger that automatically when the next day starts i.e 12:00 AM
    And if there are more number of users on same birthday then more sms and whatsapp has to be sent please help me anyone its very important for me sir

  • @myadvise857
    @myadvise857 4 ปีที่แล้ว +2

    👍👍👍

  • @mubashirsaleem7512
    @mubashirsaleem7512 4 ปีที่แล้ว

    hi sir, can you please do this with webhook?

  • @rkdwngml475
    @rkdwngml475 2 ปีที่แล้ว

    Thak you sir, it works in nepal or not sir. I am from nepal.

  • @p_akp
    @p_akp 3 ปีที่แล้ว +1

    It wiil work on blogger or not

  • @ravinakhate8757
    @ravinakhate8757 2 ปีที่แล้ว

    Sir jis number se register kiye usme recharge hona jruri h ky ?????? please reply 🙏🙏🙏🙏🙏

  • @pateljanvi3060
    @pateljanvi3060 2 ปีที่แล้ว +2

    In which software u r uploading the php file ?? Sir can you please let me know as soon as possible

  • @rajdeepboro6275
    @rajdeepboro6275 4 ปีที่แล้ว

    sir, please make a video on the group SMS sending through SQL and PHP with a checkbox or dropdown menu

  • @anilbadgujar6685
    @anilbadgujar6685 4 ปีที่แล้ว +1

    Gjb

  • @justwatcher-py9qm
    @justwatcher-py9qm 3 หลายเดือนก่อน

    Sir, how to do mobile otp login for e-commerce website using json dlt template code from dlt service provider

  • @Uk49s_boom_boom_prediction
    @Uk49s_boom_boom_prediction ปีที่แล้ว

    hi, it is necessary to approve template id for sending SMS means DLT registration??

  • @sirishasingampalli3317
    @sirishasingampalli3317 ปีที่แล้ว

    I have tried to do this through postman. it is showing code =3 and invalid login cred. but the status is 200. I have selected Authentication has none, Could you help

  • @ramyaramya-eh4tf
    @ramyaramya-eh4tf 2 ปีที่แล้ว

    all are fine sir. message also send show on notification. but its not come for mobile message

  • @cautionbaby8961
    @cautionbaby8961 2 ปีที่แล้ว +1

    Is it possible to send a message automatically (Premade Text messages) after clicking submit button?

  • @wtimangu_0858
    @wtimangu_0858 3 ปีที่แล้ว

    can you please share the textlocal link

  • @LalitKumar-gp2ti
    @LalitKumar-gp2ti 2 ปีที่แล้ว

    Sir php SMTP mailer ki tarah koi method nhi kya iska

  • @user-qh2cr9kt8z
    @user-qh2cr9kt8z ปีที่แล้ว

    We can validate number from user ,but how can we know the number is correct and active

  • @krishnawaghmode2120
    @krishnawaghmode2120 4 ปีที่แล้ว +1

    please make video ad network sites kaise ads ko views count or impression count kaise karate mysql database use karke

  • @suvendubiswal6820
    @suvendubiswal6820 3 ปีที่แล้ว

    And please bro make a video for otp verification with resend feature with timer count using textlocal.... I would be very grateful to you....

  • @sangitabose6460
    @sangitabose6460 2 ปีที่แล้ว +1

    sir ,, how to solve this problem {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"} ,,, plzz reply ,,, it's very urgent sir ,, plzz help me

  • @kusumachinni5186
    @kusumachinni5186 2 ปีที่แล้ว +1

    I m getting{" error":[{"code":80,"messsage":"invalid template"}],"status":"faliure"} how can i solve?😔

  • @techcollege3762
    @techcollege3762 2 ปีที่แล้ว

    sir firebase se message nahi bhej sakte kya

  • @faisalansari8809
    @faisalansari8809 3 ปีที่แล้ว

    Very good sir
    But how can i send sms in laravel please tell me Or please make video for laravel

  • @surajitmridha6870
    @surajitmridha6870 3 ปีที่แล้ว +2

    helo sir, unable to fix this issu :{"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}

    • @webformerinfotech7755
      @webformerinfotech7755 3 ปีที่แล้ว

      Have you got error solved?
      If not, you can reach us at 9430507653.

  • @techcamp48
    @techcamp48 7 หลายเดือนก่อน

    ye pakistan me enable nai hai kya

  • @HemantKumar-zi4xr
    @HemantKumar-zi4xr 4 ปีที่แล้ว +1

    sir ji esme mobile number phle se register ho aur hm nyi id me bhi wahi number user kre to message jayega ya nhi but ab mere nyi id wale account me 0 credits hai esme , message nhi ja rha , same aap wali error aa rahi hai
    {"errors":[{"code":7,"message":"Insufficient credits"}],"status":"failure"}

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว +1

      For all confusion please check my latest E-com video for Email and Mobile OTP which will out in Morning.

  • @rajeshtewari6059
    @rajeshtewari6059 3 ปีที่แล้ว +1

    Really WOW video, sir sms ho raha hai but jab sms mai name and logo text local hai hi aa raha hai, kya name and logo change kar sakte hai, agar change kar sakte hai to kaise kar sakte hai

    • @shatirdimag1011
      @shatirdimag1011 2 ปีที่แล้ว

      Aapka code mil sakta h kya gmail par

    • @shatirdimag1011
      @shatirdimag1011 2 ปีที่แล้ว

      M getting code 80 error invalid template

  • @khalidbinwalid8915
    @khalidbinwalid8915 3 ปีที่แล้ว

    How can implement this api of a php project in bangladesh?? Please help me sir..

  • @p_akp
    @p_akp 3 ปีที่แล้ว +3

    Hey it's say error code "3" message "invalid login details" Status':' failure pls help how to solve

    • @shatirdimag1011
      @shatirdimag1011 2 ปีที่แล้ว +1

      Same here error 80. And now error 3

  • @bForBlockchain
    @bForBlockchain 3 ปีที่แล้ว

    when i open text local website it says our sign up forms are not available in your ccountry. i am from pakistan. can you suggest me the alternative of text local

    • @khalidbinwalid8915
      @khalidbinwalid8915 3 ปีที่แล้ว

      Did you solve the problem??? I felt into the same problem. If any solution, please provide....

  • @twebacademy5583
    @twebacademy5583 2 ปีที่แล้ว +2

    text local message":"invalid template"

  • @Goodstatus171
    @Goodstatus171 ปีที่แล้ว

    Sir sms me logo lagne ke laye kon
    sa cod lagate h
    Jise bank sms me ata h

  • @tonimamurad4818
    @tonimamurad4818 3 ปีที่แล้ว

    Will it work in Bangladesh? And can I send massage to several mobile numbers at once?

  • @Healthcareerperson
    @Healthcareerperson ปีที่แล้ว

    Can we api for unlimited messgae send.

  • @sandipdas4765
    @sandipdas4765 3 ปีที่แล้ว +1

    I got an error of invalid template error 80

  • @zesttech1838
    @zesttech1838 4 ปีที่แล้ว

    Sir
    How to send two different sms to two persons?
    Just like when user register on website so how admin will get an sms for new user and how user will get sms notification of successfully register.

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      repeat your code.
      Or create a function for sms sent and in that function basis on parameters sent messages.

    • @zesttech1838
      @zesttech1838 4 ปีที่แล้ว +1

      @@ProgrammingwithVishal ok sir got it.
      Thanks for your answer👍

  • @backgroundmusic676
    @backgroundmusic676 2 ปีที่แล้ว

    POV
    I dont know indian
    Today i learn how to send an sms via PHP
    Today i learn indian cause i understood some words xD

  • @prachigunjaria
    @prachigunjaria 2 ปีที่แล้ว

    Is it per day 10sms? Ya in total 10sms

  • @Goodstatus171
    @Goodstatus171 ปีที่แล้ว

    Sar SMS code PHP mein kaha par Lagana chahie Jo Koi Na Dekha apna personal

  • @shatirdimag1011
    @shatirdimag1011 2 ปีที่แล้ว +1

    Invalid template error code 80 please solve this

    • @rabbanimeman5594
      @rabbanimeman5594 ปีที่แล้ว

      Contact textlocal support they will help to resolve your error

  • @reydsupremo6783
    @reydsupremo6783 4 ปีที่แล้ว

    Can we change sender name also txtlocal

  • @angalavaishnavi2441
    @angalavaishnavi2441 2 ปีที่แล้ว +2

    Sir,
    I tried. It shows error
    {"errors":[{"code":3,"message":"Invalid login details"}],"status":"failure"}
    pls support

    • @rabbanimeman5594
      @rabbanimeman5594 ปีที่แล้ว

      Contact Textlocal support to resolve this error

  • @rasivlog34
    @rasivlog34 4 ปีที่แล้ว

    Php mailer ka use kar ke mail keise bhej sakte hai without gmail account ko add kiy ....

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      Apko koi SMTP account chaiye hoga. Uske bina nahi bhej sakte email

    • @rasivlog34
      @rasivlog34 4 ปีที่แล้ว

      @@ProgrammingwithVishal sir bhej sakte hai without SMTP ke mene kaphi pahle ek phpmailer dekha tha jo online server ke threw mail bhej sakte hai wo code samjh nahi aya jayeda bas esiliye apse bola

  • @nensikakadiya311
    @nensikakadiya311 9 หลายเดือนก่อน

    hello sir why this response getting {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}

  • @ramar4210
    @ramar4210 3 ปีที่แล้ว

    In smtp which password we have to give... Kindly reply bro

  • @niteshvishwakarma144
    @niteshvishwakarma144 5 หลายเดือนก่อน

    hello sir how to resolve this error {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"} please tell us ?

  • @ancyea
    @ancyea 4 ปีที่แล้ว +1

    Whats the working hour for textlocal? can it send 24 hours?Pls reply Sir

  • @user-sr2xe9gs8v
    @user-sr2xe9gs8v 4 ปีที่แล้ว +1

    Google pay integration

  • @himanshujain9187
    @himanshujain9187 3 ปีที่แล้ว +1

    sir website se send ho raha hai but mobile per recive nahi ho raha hai

  • @pankajjoshi8292
    @pankajjoshi8292 4 ปีที่แล้ว

    what is sms charge is it free ??

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      Here are price list www.textlocal.in/bulk-sms-pricing-india/

  • @deeparm7195
    @deeparm7195 4 ปีที่แล้ว

    Can we do this using phpmyadmin??

  • @sagarsamant4507
    @sagarsamant4507 3 ปีที่แล้ว

    Hello Sir,
    I got below response
    {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}
    please help me

  • @mandakinisahu1411
    @mandakinisahu1411 4 ปีที่แล้ว

    How to get an alert msg when someone clicked on any button of our website

  • @movieaddict4521
    @movieaddict4521 3 ปีที่แล้ว

    How about recieving sms

  • @RishhiiiMusic
    @RishhiiiMusic 3 ปีที่แล้ว

    It's Not Working as Now it requires some template verification and then have to pass a dynamic variable,

    • @tapsp5845
      @tapsp5845 3 ปีที่แล้ว +1

      have u get any solution for this problem bcz now i am get this error {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}

    • @RishhiiiMusic
      @RishhiiiMusic 3 ปีที่แล้ว

      @@tapsp5845 first you have to get your self approved by SMS provider, afterwards approval of SMS template from textlocal, if all is done then just copy the temple code into you code and instead of %...% use your variables.

    • @tapsp5845
      @tapsp5845 3 ปีที่แล้ว +1

      ​@@RishhiiiMusic am not get can u share ur code

  • @Reviewpoint2.0
    @Reviewpoint2.0 3 ปีที่แล้ว

    sir timezone hai isme 9 se 8:45 am tak please tell how we extend

  • @technorajeshhacker6074
    @technorajeshhacker6074 3 ปีที่แล้ว

    Sir 2 token code ko ek saath kaise add Krna h

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 ปีที่แล้ว

      Per 2 token ko ek sath use kyo karna hai.
      Anyways create 2 functions and pass mobile number as parameters.

    • @technorajeshhacker6074
      @technorajeshhacker6074 3 ปีที่แล้ว

      @@ProgrammingwithVishal sir kyoki ek 10 sms expire ke baad dusra token use ho (,) comma symbol lgakar dusra token use kr skate h kya

  • @rajpandey6918
    @rajpandey6918 3 ปีที่แล้ว +4

    SIR mujhe invalid templete ka error aa raha hai {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"} kaise solve kare ise??

    • @bigbillionstartup4122
      @bigbillionstartup4122 3 ปีที่แล้ว +1

      mujhe bhi

    • @gauravkadyan321
      @gauravkadyan321 3 ปีที่แล้ว

      kyya aapka ye error solve hua
      agr ho gyya to please mujhe bhi btta do

    • @rabbanimeman5594
      @rabbanimeman5594 ปีที่แล้ว

      Abhi DLT implementation ki vajah se aapke textlocal account me jo message hoga vahi send kr sakte hain agar jyada help chahiye to textlocal ke support ko contact kare wo help kar denge

  • @shreyadhar8484
    @shreyadhar8484 4 ปีที่แล้ว +1

    Showing error
    Code:80
    Invalid template
    status:failure
    What type of problem is this, sir?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว +1

      please email me your code at phpvishal@gmail.com

    • @shreyadhar8484
      @shreyadhar8484 4 ปีที่แล้ว +1

      @@ProgrammingwithVishal sir mail send ,please check it whether you receive it or not

    • @shrutipatil464
      @shrutipatil464 3 ปีที่แล้ว

      Hy

    • @twinklegupta6003
      @twinklegupta6003 3 ปีที่แล้ว

      Sir I also have same problem what to do?

    • @villagerstown
      @villagerstown 3 ปีที่แล้ว

      @@shreyadhar8484 hello. is your problem solved ? because i also have same error.

  • @vishalnilkanth8760
    @vishalnilkanth8760 3 ปีที่แล้ว

    sir can u send the source code

  • @nimishbhandari861
    @nimishbhandari861 3 ปีที่แล้ว

    {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"} i got this error please help !!!

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 ปีที่แล้ว +1

      They change the process. First create a template then use this template for sent message.

  • @webinfotraining
    @webinfotraining ปีที่แล้ว

    Status Success But no receive Opt Massage

  • @JOINMEMES
    @JOINMEMES 10 หลายเดือนก่อน

    Sir wo php code download nhi horaha please help kardo

  • @HariPrasad-mn5vu
    @HariPrasad-mn5vu 3 ปีที่แล้ว

    SIR CAN U HELP ME WTIH MY SITE PLEASE REPLAY AS FAST AS POSSIBLE

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 ปีที่แล้ว

      what help?

    • @HariPrasad-mn5vu
      @HariPrasad-mn5vu 3 ปีที่แล้ว

      @@ProgrammingwithVishal Sir in applying this gateway on our site with some other options please sir

  • @raviverma-pu3dt
    @raviverma-pu3dt 3 ปีที่แล้ว +1

    sir I am getting an error response "{"errors":[{"code":3,"message":"Invalid login details"}],"status":"failure"}" when I am uploading file to server while its working properly in localhost please solve my query it's very urgent.

    • @gauravkadyan321
      @gauravkadyan321 3 ปีที่แล้ว

      paste your api key again with = symbol
      OTRjZjdiZDdmMjM4MGMzMjA1OTBhOWQ4NjY3MjI0ZTE=
      llike that

  • @VIP-nv9wq
    @VIP-nv9wq ปีที่แล้ว

    ENTAARR

  • @RaviPatel-oj7bm
    @RaviPatel-oj7bm ปีที่แล้ว

    {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}

  • @upsc2296
    @upsc2296 4 ปีที่แล้ว

    Sir message receive ko kaise off karate hai

  • @tejasvaidya8663
    @tejasvaidya8663 3 ปีที่แล้ว

    Hello Sir
    Can i please know how to host the above webpage.
    Kindly provide the URL for free hosting...

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 ปีที่แล้ว

      Instead of Free Hosting, Try Hostinger. It'e very cheap.
      For offer please check below link and for attractive discount use my Coupon code
      91weblessons.com/domain_hosting
      Promo Code: ProgrammingWithVishal

  • @praveensharma5183
    @praveensharma5183 3 ปีที่แล้ว

    Hi sir hindi me sms kaise jayega?

  • @Jakeworldfax
    @Jakeworldfax 11 หลายเดือนก่อน

    Looking for someone who can get bulk of sim cards or sim routes.
    Doing sms business together.high profit per day.

  • @upsc2296
    @upsc2296 4 ปีที่แล้ว

    Sirf message hi bhejana hai vaha se vapis message na aaye iske liye kya karana hai

  • @user-ro7yg2gx5i
    @user-ro7yg2gx5i 11 หลายเดือนก่อน

    string(72) "{"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"}"

  • @abhishekruhela7568
    @abhishekruhela7568 4 ปีที่แล้ว

    getting {"errors":[{"code":80,"message":"Invalid template"}],"status":"failure"} please help

  • @sandeepverma6290
    @sandeepverma6290 3 ปีที่แล้ว

    sir mobile par message nhi aaya........program successful chal rha hai

    • @tejasvaidya8663
      @tejasvaidya8663 3 ปีที่แล้ว

      Hello Sandeep
      Can i please know how you have hosted the above web site.
      Please let me know.

  • @user-ro7yg2gx5i
    @user-ro7yg2gx5i 11 หลายเดือนก่อน

    sir mere code ma ye error hai