Send SMS Messages using PHP

  Рет қаралды 46,747

Dave Hollingworth

Dave Hollingworth

Күн бұрын

Пікірлер: 101
@jarencefeliciano
@jarencefeliciano Жыл бұрын
Hi, Dave. Thank you for another short and concise tutorial. Best PHP instructor!
@someutubchannel69
@someutubchannel69 Жыл бұрын
I have 2 courses from him on Udemy.... best $$$ invested!!!
@jarencefeliciano
@jarencefeliciano Жыл бұрын
@@someutubchannel69 I have 6 courses from him on Udemy too and 4 out of those courses are completed. Yes, $$$ invested!
@fadelellaherrami8840
@fadelellaherrami8840 9 ай бұрын
Dave, thank you very much for clarifying the video. Your explanation was really helpful
@collenzaligway4458
@collenzaligway4458 Жыл бұрын
This is a very informative video, thank you so much Dave hope you keep making more.
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Source code is available here: gist.github.com/daveh/6a31d0d28d9aef8c161c6ff1b6d29fae
@pitularjelldaenuelc.557
@pitularjelldaenuelc.557 10 ай бұрын
how do i fix this? Fatal error: Uncaught Error: Class "Twilio\Rest\Client" not found...
@dave-hollingworth
@dave-hollingworth 10 ай бұрын
@@pitularjelldaenuelc.557 Make sure you've installed the packages using Composer, and included Composer's autoloader
@crafka
@crafka 21 күн бұрын
this is amazing. Thanks for sharing!
@mounir101
@mounir101 Жыл бұрын
Thanks so much for this unique lesson. Please could you make a another lesson about how to create a REST API using slimPHP framework. Keep going.
@yasminbchelbi5382
@yasminbchelbi5382 Ай бұрын
dave thank you so much for this video! you saved me!
@techatival
@techatival Жыл бұрын
This is a useful video, thank you!
@iam.masoudsamimi
@iam.masoudsamimi 8 ай бұрын
Awesome as always. Much appreciated.
@abbasmohamedwalaal5753
@abbasmohamedwalaal5753 Жыл бұрын
Great video and nice explanation
@someutubchannel69
@someutubchannel69 Жыл бұрын
Dave, Hi! ! Amazing video as always! Do you have a video about how to properly use composer ? If not, would you please create one about it? As always... Thank You!!!
@dave-hollingworth
@dave-hollingworth Жыл бұрын
I don't at the moment, but it's a good idea for a video, I'll make a note!
@someutubchannel69
@someutubchannel69 Жыл бұрын
@@dave-hollingworth Thank You so much!!!
@PraveenaL-kp6lk
@PraveenaL-kp6lk 10 ай бұрын
SMS message sent in my site but didn't receive to my mobile
@nerajaksharaju3533
@nerajaksharaju3533 9 ай бұрын
Did you resolve the issue?
@aogunnaike
@aogunnaike Жыл бұрын
Thanks alot for this
@shobitgupta1683
@shobitgupta1683 8 ай бұрын
can u pls make a video on how to get OTP
@charithnaiya
@charithnaiya 4 ай бұрын
thank you bro. it is actually work.
@davidli7133
@davidli7133 6 ай бұрын
Thank you for your video. It's really work well.
@batchrocketproject4720
@batchrocketproject4720 Жыл бұрын
very useful, thanks. 💯
@nameoftruth
@nameoftruth Жыл бұрын
Thank you very much boss...
@ElectroTechKh
@ElectroTechKh Ай бұрын
I would appreciate you have a cover up php route seo friendly url
@zaidalissawi
@zaidalissawi 4 ай бұрын
nice vid , what about send the sms from android mean same info from php to android and the phone will send the sms
@prepayt3637
@prepayt3637 Жыл бұрын
thankyou so much so helpful
@Linksdapp
@Linksdapp Жыл бұрын
I love your videos, have code a multi vendor frontend website, but i don't know backend programming to connect the frontend to the backend, I really wish you could do a video on it. I love your tutorials so easy to understand. I will be happy if you can be mentor in programming. Am Moses
@SanCisco-z5c
@SanCisco-z5c 3 ай бұрын
Am using windows, but if I run the composer in the windows cmd it give an error message
@heshankanishka8316
@heshankanishka8316 11 ай бұрын
Sir, please tell me about the WhatsApp business api
@christianstephen6145
@christianstephen6145 7 ай бұрын
thanks it worked
@misternley
@misternley Жыл бұрын
Hi Dave thank you for this video. Now let's say you want to send SMSes in bulk to different recipients. For example in a school sending fees balances. The balances being fetched from a different table from the one having the phone numbers and names. By using a loop e.g foreach, do..while e.t.c the code takes a longer time to execute and therefore taking more server resources, how can one achieve the former without the latter problem.
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Depending on which provider you're using, you could send several messages with one call if you build up the list of messages first. Also, with things like this, you could run it as a scheduled task when load is low on your server (e.g. at night)
@terrybus1
@terrybus1 Жыл бұрын
Hello Dave, this video on php sms is great, however I.m having an issue with the line..."$configuration = new Configuration(host: $base_url apiKey: $api_key);" The error is Syntax error, unexpected ':' , expecting ',' or ')'
@dave-hollingworth
@dave-hollingworth Жыл бұрын
This is because you're using an older version of PHP that doesn't support named arguments. You can upgrade PHP (recommended) or remove the argument names (the "host:" etc. parts)
@kingkiru5149
@kingkiru5149 4 ай бұрын
For india, I'm not able to send free test messages. So what should i do to test a message. Then I'll go with subscription
@Kunal-Lost-in-Translation
@Kunal-Lost-in-Translation 6 ай бұрын
can we send bulk sms ?
@stanleyuche8272
@stanleyuche8272 8 ай бұрын
your video is simplified thank you so much but am finding it hard to upgrade my twillio account. please kindly assist
@dave-hollingworth
@dave-hollingworth 8 ай бұрын
Please try contacting Twilio support for help with those accounts
@olatunjipelumi4671
@olatunjipelumi4671 Жыл бұрын
Please how do i make the reciever to see the message coming from me as the sender rather than seeing rather Infobip as the sender
@dave-hollingworth
@dave-hollingworth Жыл бұрын
kzbin.info/www/bejne/pZPSnXStl91mbposi=sSmnnJuU3CLS-jeT&t=312
@Tenku97
@Tenku97 Жыл бұрын
how to solve Parse error: syntax error, unexpected ':', expecting ') in $configuration?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Probably because of named arguments - remove the names or upgrade your PHP version
@salakopaul8755
@salakopaul8755 Жыл бұрын
Thank you for this great video, My Info worked but for TWILO i'm having issues at the $twilio_number = "+ "; area, i dont know hwere to get the number to input there And for INFO, how can i send to more than one contacts?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
The number is in the Twilio console, where there are also code samples to do different things
@louiscastle9448
@louiscastle9448 11 ай бұрын
So i will put some code for twilio and the admin/user should download twilio too for them to receive the message?
@dave-hollingworth
@dave-hollingworth 11 ай бұрын
No, once the message is sent, all the recipient needs is a mobile number
@urbarsreedas8756
@urbarsreedas8756 6 ай бұрын
i want to send messages without cost , if possible ?? Please suggest mee
@calvinmubata1831
@calvinmubata1831 Жыл бұрын
On $configuration its giving an error, unexpected ':', expecting ')😇'
@Tenku97
@Tenku97 Жыл бұрын
how to fix this?
@ChiquiSistemas
@ChiquiSistemas 3 ай бұрын
I download the files form.php, send.php and the , I put in carpet "sms" I download the packages too, but don´t work it, I try localhost same like video, but don´t work, what am I do?
@dave-hollingworth
@dave-hollingworth 3 ай бұрын
In what way doesn't it work? Do you get any error messages?
@ChiquiSistemas
@ChiquiSistemas 3 ай бұрын
@dave-hollingworth when I click en send, appears me, error 500 and the name of the files are correct
@dave-hollingworth
@dave-hollingworth 3 ай бұрын
@@ChiquiSistemas Please see this: kzbin.infot6KpIfHPFGw?feature=share
@ViralVideos-d4i
@ViralVideos-d4i Жыл бұрын
Hello, do you have another platform you can be contacted on need help!
@Iamstephane
@Iamstephane 10 ай бұрын
Hev Dave. Please how do I fix this error "Uncaught Error: Class "infobip\Configuration" not found" ?
@dave-hollingworth
@dave-hollingworth 10 ай бұрын
Make sure you've installed the packages using Composer, and included Composer's autoloader
@Crank-nn2ub
@Crank-nn2ub 8 ай бұрын
Dave excuse my lack of intelligence but please can you kindly explain what your using exactly to write the code? Is that a program? Is that a OS?
@dave-hollingworth
@dave-hollingworth 8 ай бұрын
It's a code editor, Visual Studio Code. It's free, you can get it here: code.visualstudio.com/
@Crank-nn2ub
@Crank-nn2ub 8 ай бұрын
@@dave-hollingworth Dave, I have spent the last two days studying this video. I have followed every single step and done this multiple times. I’m still having a silly error encountered on my side. I’m surely making a small mistake but I can’t seem to figure out where. Please take my request seriously I am more than happy to pay you upfront for a quick 10 or 15 minutes chat. Maybe you can help me where I am going wrong….. I will pay you upfront, so you know I am not messing around please can you reply to this comment with a handle i can contact you on such as telegram or whatever you prefer. Sir, I know you get a lot of comments on your videos of people asking you for help but hopefully you’re happy to help me where I am willing to pay for your time. I will pay first so you know I’m serious. Any crypto you like :)
@pitularjelldaenuelc.557
@pitularjelldaenuelc.557 10 ай бұрын
how do i fix this? Fatal error: Uncaught Error: Class "Twilio\Rest\Client" not found...
@dave-hollingworth
@dave-hollingworth 10 ай бұрын
Make sure you've installed the packages using Composer, and included Composer's autoloader
@AjayBhardwaj-iu7th
@AjayBhardwaj-iu7th 7 ай бұрын
Hi Dave, how i integrate this thing with wordpress?
@dave-hollingworth
@dave-hollingworth 7 ай бұрын
I'm afraid I'm not familiar with WordPress integrations - try seeing if there are any WP extensions that do this
@ShrikrupaMedia
@ShrikrupaMedia 11 ай бұрын
In command prompt i got eeror composer not recognised
@Iamstephane
@Iamstephane 10 ай бұрын
You have to first manually download the composer package from google and install on your PC before you'll be able to use composer in terminal
@miraclemissionmw
@miraclemissionmw 11 ай бұрын
Im getting an error that says class infobip\api\smsApi not found , how can i best fix this
@dave-hollingworth
@dave-hollingworth 11 ай бұрын
Check you're including Composer's autoloader, and that the namespaces and classnames have the correct case
@miraclemissionmw
@miraclemissionmw 11 ай бұрын
@@dave-hollingworth solved thanks, thou I can't add multiple recipients for the number under infobip as it only allow me to register one recipient Great tutorial by the way 👏
@Iamstephane
@Iamstephane 10 ай бұрын
Bro please how did you fix this error "Uncaught Error: Class "infobip\Configuration" not found"? I get it when using infobip@@miraclemissionmw
@sauronyuotube
@sauronyuotube Жыл бұрын
Master, good afternoon, i make all steps, fisrt time from install using composer and after i try to copy directly two projects, but not work. Can i send my code by mail to helpme please??? i need that this work to a litlle web project
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Try putting it on GitHub
@drumbeatsnation1563
@drumbeatsnation1563 Жыл бұрын
will it still works in localhost when i use free or i buy subscription?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Yes it will still work on localhost
@drumbeatsnation1563
@drumbeatsnation1563 Жыл бұрын
@@dave-hollingworth i tried the free version of twilio, it has logs in my message log in twillio account and says its delivered but i didn't receive any message in my phone number until now, i use php.. can you help me why?
@edwardklem7718
@edwardklem7718 Жыл бұрын
Its saying message sent but not seeing anything on my phone. No received messages
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Check the logs in the provider's dashboard, see if it says anything there
@manosxa
@manosxa Жыл бұрын
Maybe is a stupid question or something obvious for all however I need to know where do we run the $ composer...... .Is it in the windows command by altering the location to the root of the project? It does not look like you have any location on your screen when you run it.
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Ah sorry didn't see this comment - yes, it's on the command line, using cd to change to the project folder. As @StoryTellerZb says though, you can do it from inside VSCode if you prefer
@terrybus1
@terrybus1 Жыл бұрын
i am using php 8.2...am i missing something?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
If it works when you remove the argument names, then it would seem that your web server is using an earlier version of PHP (it's possible that you could have several versions installed, or the command-line version is different to the web server version)
@user93464
@user93464 Жыл бұрын
How to sent message on Viber and WhatsApp?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Both providers shown in the video have an API for WhatsApp, check out their websites for more details
@user93464
@user93464 Жыл бұрын
@@dave-hollingworth Thank you!
@abdelhamidnehlil7277
@abdelhamidnehlil7277 Жыл бұрын
merci khoo #khoo = frère
@YoutubeP-vn1de
@YoutubeP-vn1de 9 ай бұрын
Can you help me bro to fix my script I will pay for it bro it’s important for me
@dave-hollingworth
@dave-hollingworth 9 ай бұрын
I'm afraid I don't do any consulting work at the moment, but if it's a simple question please feel free to post the details and I'll have a look
@YoutubeP-vn1de
@YoutubeP-vn1de 9 ай бұрын
@@dave-hollingworth it’s very simple sir for you I have scripts you just need to edit something and it’s important for me I will be happy if you help me the problem is script not showing anything it’s blank after host same script working befor but suddenly I don’t know what happened started showing blank page Please can share me your Instagram telegram or mail anything so I can send you files so you can check
@wellkin
@wellkin Жыл бұрын
Is that free?
@dave-hollingworth
@dave-hollingworth Жыл бұрын
Both providers give you a few messages for free when you create an account, but generally sending SMS messages costs per message.
@urbarsreedas8756
@urbarsreedas8756 6 ай бұрын
​@@dave-hollingworth how much ???
@dave-hollingworth
@dave-hollingworth 6 ай бұрын
@@urbarsreedas8756 Please check out the individual sites for their specific pricing details.
@NURULELYASHAZANAMOHDALBAKRI
@NURULELYASHAZANAMOHDALBAKRI 3 ай бұрын
Hi, Dave. i faced some issue regarding on the configuration: Fatal error: Uncaught Error: Class "Infobip\Configuration" not found in C:\laragon\www\drs\test_1.php:18 Stack trace: #0 {main} thrown in C:\laragon\www\drs\test_1.php on line 18 can you help me.. fyi i already install the package and put in my folder
@dave-hollingworth
@dave-hollingworth 3 ай бұрын
Are you including Composer's autoloader?
@Hausaonlinetech
@Hausaonlinetech Жыл бұрын
I try it on my server but not working ( This page isn't working...)😢
Sending OTP SMS in PHP from localhost using textlocal
14:30
learnWebCoding
Рет қаралды 169 М.
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Hackers Bypass Google Two-Factor Authentication (2FA) SMS
12:47
John Hammond
Рет қаралды 1,1 МЛН
Securely Storing PHP Configuration Settings
7:20
Dave Hollingworth
Рет қаралды 10 М.
How to Send SMS Using PHP: A Complete Guide
5:06
Suave Programmer
Рет қаралды 41
Send email with PHP | Create a Working Contact Form Using PHP
10:18
Dave Hollingworth
Рет қаралды 157 М.
Hack With SMS | SMS Spoofing like Mr. Robot!
11:32
zSecurity
Рет қаралды 1,2 МЛН
Send SMS Text Messages to Mobile Phone PHP Tutorial
7:56
Adam Khoury
Рет қаралды 462 М.
How to Send SMS / Message in PHP with MSG91
17:50
Funda Of Web IT
Рет қаралды 26 М.
НИКОГДА не иди на сделку с сестрой!
0:11
Даша Боровик
Рет қаралды 729 М.
ПОСТАРЕЛА ЗА 1 ДЕНЬ НА 20 ЛЕТ - МУЖСКОЕ ЖЕНСКОЕ
55:44
ПРИЯТНЫЙ ИЛЬДАР
Рет қаралды 677 М.
Американцы красят асфальт?
0:27
BAZAR CLUB
Рет қаралды 188 М.
Лайфхак: Легально делать деньги
0:43
Making of Marble in Factory #shorts #ashortaday #indianstreetfood
0:59
Indian Food Vlogs
Рет қаралды 6 МЛН