note 105381 added to function.exec
| From: | adityajoshi94 at yahoo dot com | Date: | Sat, 13 Aug 2011 05:22:11 +0000 |
| Subject: | note 105381 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-182460@lists.php.net to get a copy of this message | ||
$cmd = "C:\Program Files (x86)\pl\bin\swipl -f test1.pl -g test " halt;
exec( $cmd );
nothing happens when i try to run my php code it waits for while and returns to command prompt on
windows/system32/exe
but when i execute the same command on cmd line i get the desired out put
C:\Program Files (x86)\pl\bin\swipl -f test1.pl -g test " halt;
i had been trying it for last two days, any help will be highly appreciated
Thanks in advance for all people who will give it a thought and help me
----
Server IP: 69.147.83.197
Probable Submitter: 98.252.164.27
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/105381
Del: integrated -- https://master.php.net/note/delete/105381/integrated
Del: useless -- https://master.php.net/note/delete/105381/useless
Del: bad code -- https://master.php.net/note/delete/105381/bad+code
Del: spam -- https://master.php.net/note/delete/105381/spam
Del: non-english -- https://master.php.net/note/delete/105381/non-english
Del: in docs -- https://master.php.net/note/delete/105381/in+docs
Del: other reasons-- https://master.php.net/note/delete/105381
Reject -- https://master.php.net/note/reject/105381
Search -- https://master.php.net/manage/user-notes.php