Jump to content

sending sms automatically based on the time from the database


phpmady

Recommended Posts

Hi phpmady,

You can trigger a PHP script using a cronjob on your server.

The script extracts the required data from the database, formats it and sends an HTTP request to an SMS gateway.

 

For the actual sending of an sms from php, have a look at this tutorial:

http://www.sephiroth.it/tutorials/flashPHP/sms/

To trigger

Cheers,

Fergal

Hi phpmady,

You can trigger a PHP script using a cronjob on your server.

The script extracts the required data from the database, formats it and sends an HTTP request to an SMS gateway.

 

For the actual sending of an sms from php, have a look at this tutorial:

http://www.sephiroth.it/tutorials/flashPHP/sms/

To trigger

Cheers,

Fergal

 

Thanks Fergal ,

 

How can i test the cronjob in my local server xampp,

 

 

 

Hi phpmady,

If you are on a windows machine you can set up a scheduled task and run the PHP script using wget for windows.

http://gnuwin32.sourceforge.net/packages/wget.htm.

This calls the script using an http request.

http://en.wikipedia.org/wiki/Wget

Cheers,

Fergal

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.