note 80806 added to function.exec
| From: | tungmingtommy at example dot com | Date: | Fri, 01 Feb 2008 03:23:23 +0000 |
| Subject: | note 80806 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135692@lists.php.net to get a copy of this message | ||
I am writing a website in PHP+Mysql (Apache) which include function like automatically send SMS to
users. I am trying to do this by making using of Microsoft SMS sender (Freeware). There are 2 modes
to operate this SMS sender, graphic mode and command mode in cmd. I am trying the latter one.
Therefore, I'm just wondering does anyone know how to execute a command line in php script
("smssender.exe [[/i] /p:65065110 /m:"hihi" [/u] [/l]] ". I have heard of exec()
function but it seems it deosn't work and end up with a cmd window without anything inside.
I am using php 5.1.
Thank you very much!
Tommy
----
Server IP: 69.147.83.197
Probable Submitter: 147.8.205.30
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/80806
Del: integrated -- https://master.php.net/note/delete/80806/integrated
Del: useless -- https://master.php.net/note/delete/80806/useless
Del: bad code -- https://master.php.net/note/delete/80806/bad+code
Del: spam -- https://master.php.net/note/delete/80806/spam
Del: non-english -- https://master.php.net/note/delete/80806/non-english
Del: in docs -- https://master.php.net/note/delete/80806/in+docs
Del: other reasons-- https://master.php.net/note/delete/80806
Reject -- https://master.php.net/note/reject/80806
Search -- https://master.php.net/manage/user-notes.php