在php中移动源 [英] mobile a souce in php

查看:71
本文介绍了在php中移动源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道这是可能的,如果我在php中创建一个可以短信只能不接收的网络,但发送短信的来源意味着API或批量短信服务器是我的手机意味着我附加我的手机在我的电脑手机我的网站将能够发送短信,当我删除我的手机短信发送将停止。

I want to know that is this possible that if i make a web in php which can can sms only not to receive but the source of sending SMS means the API or Bulk sms server is my mobile phone means when i attach my mobile phone in my computer my website will able to send sms and when i remove my mobile sms sending will stop.

推荐答案

虽然你的表述很模糊,我会尝试回答:是和否。

这取决于你如何实现短信发送。使用具体的移动电话进行此类任务很少是一个很好的选择。这种设备的吞吐量很小。使用手机可能是一个起点,但很少是生产证明解决方案。

您最好使用短信网关服务。一般来说,它比手机订阅便宜,你不必担心设备和与它的通信。如果您在隔离的网络中部署应用程序,则需要一台设备,但在这种情况下,您应该使用短信调制解调器而不是电话 - 您应该寻找至少具有适用于您的平台的库的应用程序,甚至更好的PHP界面。
Although your formulation is quite vague, I will try to answer: yes and no.
It depends how do you implement sms sending. Using a concrete mobile phone for such task is rarely a good option. Such a device has a narrow throughput. Using a phone can be a starting point but rarely a production proof solution.
You better use an sms gateway service. In general it is cheaper than a phone subscription, and you don''t need to worry about the device and the communication with it. If you deploy your application in an isolated network, you will be needing a device, but in that case you should use an sms modem instead of a phone - and you should look for one that has at least a library for your platform, and even better a php interface too.


这篇关于在php中移动源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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