⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 使用TAP的蜂窝型GSM手机短消息服务中心
💻
字号:
sms.pl - access sms_client via a web browserAuthor: David Usherwood (davidu@infocat.co.uk)This is a very simple perl script which allows text messages to beinput and sent to multiple recipients. It reads the entries in /etc/smsrc and offers them up in a multi-select list.Please be kind - this is my first Web-related perl script.InstallationThe script should just install in your cgi-bin directory, and be accessible as http://<yourserver>/cgi-bin/sms.pl .It requires CGI.pm . If you have a fairly new perl (5.003 upwards),all the perl stuff should be there.But you will probably need to make some permission changes to your system. Again, I am not a Unix security guru, so there maybe a better way to do this.sms.pl is run by your web server. Under Apache (which I used for testing), the sessions can be specified to run under a userid suchas (say) www . sms.pl runs sms_client. Thus sms_client needs to be executable by www.But sms_client runs libmodem, and that needs access (read I assume) to/etc/modems. Thus make that readable by www (directly or via a group).Lastly, sms_client talks to the modem hardware - so whatever modemyou want to access must be read/write to www. On my system it is/dev/ttyS1, ie COM2 to PC types like me.Then it should work. If it doesn't, I am interested to know why.And I can certainly envisage that the Web page itself could be greatlyimproved...And I am going to try to think up some sensible trapping of comms errors, too

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -