note 68129 added to language.operators.execution
| From: | kesh_6_7 at yahoo dot co dot in | Date: | Fri, 14 Jul 2006 11:15:17 +0000 |
| Subject: | note 68129 added to language.operators.execution | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114775@lists.php.net to get a copy of this message | ||
Hi
I am using a php application where when the user clicks a html button on a page, it should
automatically open command prompt or run local system commands{either Linux/Windows}
What i have done is , i have used WSH and Activex commands in Javascript to call cmd.exe and as soon
as i press that button on the web page it automatically opens command prompt.
but this is browser dependant and incompatible with other browsers. I also need to use the same code
in my application when it is run on linux or unix os.
So i need a way to open a shell or a command prompt in Linux and Windows from php . I am also
sending parameters to the command prompt.
Can you tell me if there is any other solution or possible method to this ,
Any help greatly invited
Thanks for help in Advance
Stranger
----
Server IP: 203.199.107.94
Probable Submitter: 210.210.13.126
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/language.operators.execution.php
Edit -- http://master.php.net/note/edit/68129
Del: integrated -- http://master.php.net/note/delete/68129/integrated
Del: useless -- http://master.php.net/note/delete/68129/useless
Del: bad code -- http://master.php.net/note/delete/68129/bad+code
Del: spam -- http://master.php.net/note/delete/68129/spam
Del: non-english -- http://master.php.net/note/delete/68129/non-english
Del: in docs -- http://master.php.net/note/delete/68129/in+docs
Del: other reasons-- http://master.php.net/note/delete/68129
Reject -- http://master.php.net/note/reject/68129
Search -- http://master.php.net/manage/user-notes.php