?? readme
字號:
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 + -