我们如何在php中创建一个按照计划发送消息的网站 [英] how we create a website in php which send msg as per schedule

查看:114
本文介绍了我们如何在php中创建一个按照计划发送消息的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想建立一个网站,通过网站发送短信到电话,作为用户预先设定的时间表...... ..i不知道如何创建那种网站..



我想在我的网站上使用短信发送模块发送通知和其他信息我需要的时间。请告诉我关于在PHP网站上详细发送短信发送模块

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 "

推荐答案

1)对JSOP的赞美 [ ^ ]

2)你不想用网站做到这一点。 Web应用程序不是为了解决计时器等问题而设计的。它是一个无状态的请求/响应系统。为了在定时间隔内从服务器执行某些操作,您需要使用以下两个过程之一:

a)使用Windows Scheduler计划的控制台应用程序。

b)一个在内部计时器上运行的Windows服务应用程序。



注意:您仍然需要一个Web前端供用户配置其设置。
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.


这篇关于我们如何在php中创建一个按照计划发送消息的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆