Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: .NET PHP Web-Development , +
i want to make a website which sends an sms through website to phone as par the time schedule which is been pre desided by the user...???? ..i have no idea how to create that kind of website..
 
"I want to use a SMS sending module in my website to send notifications and other information as per the time I require. So tell me about putting the SMS Sending module in detail in a PHP website " [Edit - Removed Shouting]
Posted 15-Feb-13 3:43am
Edited 15-Feb-13 7:36am
v6

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

1) Compliments of JSOP[^]
2) You don't want to do that with a website. The web application is not designed to work off timers and such. It is a stateless Request/Response system. In order to do something from a server on a timed interval, you need to use one of two processes:
a) A console application that is scheduled using Windows Scheduler.
b) A windows service application which runs on an internal timer.
 
NOTE: You will still need a web front end for the user to configure their settings.
  Permalink  
Comments
Chaudhary Ankit Deshwal at 15-Feb-13 12:18pm
   
I want to use a SMS sending module in my website to send notifications and other information as per the time I require. So tell me about putting the SMS Sending module in detail in a PHP website. Thanks in advance
Marcus Kramer at 15-Feb-13 12:21pm
   
"So tell me about putting the SMS Sending module in detail in a PHP website."
Ummm. NO! It doesn't work that way here. And clearly you didn't read my answer. My answer is DON'T DO IT THAT WAY! So I'm certainly not going to bother going through the effort of writing your code for you in a way in which it shouldn't be done.
Chaudhary Ankit Deshwal at 15-Feb-13 12:57pm
   
can u plz describe that .. i can't understand that..?
Zoltán Zörgő at 15-Feb-13 13:14pm
   
Imagine following: your site is not visited by anybody between 22pm and 06am, but you want to send a message at midnight. Since we are talking about a web application, it will run only when a request is sent to the server, so it will not run between 22 and 06 since there is no request sent. How do you intend to send a message from an application that is not running?
Chaudhary Ankit Deshwal at 15-Feb-13 13:26pm
   
actually... i thought like that a user log in and entered its all detail of its schedule with time or important notice ..and after that, that web site can send a message to remind the user about the work before the time .
Zoltán Zörgő at 15-Feb-13 15:22pm
   
You see, that's the problem, what you seem not to understand. How could you guarantee that the website can do something at a specific time? It is only alive when somebody is accessing it. So if nobody is using it at that specific moment it is dead - thus can not take any action.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,382


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 15 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100