note 117131 added to function.exec
| From: | davideramondetti at yahoo dot it | Date: | Sun, 19 Apr 2015 16:36:21 +0000 |
| Subject: | note 117131 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202300@lists.php.net to get a copy of this message | ||
Execute an a software, for an example my WordPress Plugin ExecMe, with an a error message and
success message:
<?php
function Execute($code)
{
$executing = exec($code);
if ($executing)
{
echo "Operation completed";
}
else
{
// to have the code of the anti-fatalerror contact me!
echo "Operation failed";
}
}
?>
----
Server IP: 72.52.91.14
Probable Submitter: 2.36.42.53
----
Manual Page -- http://php.net/manual/en/function.exec.php
Edit -- https://master.php.net/note/edit/117131
Del: integrated -- https://master.php.net/note/delete/117131/integrated
Del: useless -- https://master.php.net/note/delete/117131/useless
Del: bad code -- https://master.php.net/note/delete/117131/bad+code
Del: spam -- https://master.php.net/note/delete/117131/spam
Del: non-english -- https://master.php.net/note/delete/117131/non-english
Del: in docs -- https://master.php.net/note/delete/117131/in+docs
Del: other reasons-- https://master.php.net/note/delete/117131
Reject -- https://master.php.net/note/reject/117131
Search -- https://master.php.net/manage/user-notes.php