Help needed! | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 28, 2010 ⬆ |
◄ ► |
Author | Message | |||
prsreek New member Username: Prsreek Post Number: 1 Registered: 07-2010 |
hi.. i am using nowsms as a trial.Insalled on my PC and now i can send sms by going to http://localhost:8800/. how can i send sms through my website? how to connect my website to my PC (database)? plzz help me.this is my first project based on mysql. plzzzzz | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2343 Registered: 08-2008 |
Hi, Are you familiar at all with PHP? There is an example PHP script at the following link: http://blog.nowsms.com/2008/10/nowsms-php-example-send-sms-text.html Generally, you would run a PHP script on the web server. However, the web server needs to be able to make a TCP/IP connection to the PC that is running NowSMS. So instead of localhost (or 127.0.0.1), you would need to be able to connect to the IP address of the NowSMS server from your web server. Assuming you have that connectivity, edit the 127.0.0.1 references in the example script to use the IP address of the NowSMS server instead. -- Des NowSMS Support | |||
prsreek New member Username: Prsreek Post Number: 2 Registered: 07-2010 |
Ok i know little php. now sms installed on my pc.how will i assign now sms server ip? How can i connect the web server and now sms server ? Plzz help... I am a noob.. | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2378 Registered: 08-2008 |
Well ... that's more of a computer networking issue. You can think of NowSMS as a specialised web server. So the issue would be the same as wanting to install a web server on your PC. If you're behind a firewall or other NAT router, then you need to open up a port to allow connections through the firewall or router to the NowSMS server. If you don't have a dedicated IP address, then you would want to use a dynamic DNS service like no-ip.com or dyndns.com to associate a host name with your IP address, so that the host name could follow you PC as its IP address changes each time it connects to your internet provider. -- Des NowSMS Support |