note 112744 deleted from function.exec by peehaa
| From: | peehaa@php.net | Date: | Mon, 22 Jul 2013 09:10:45 +0000 |
| Subject: | note 112744 deleted from function.exec by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195712@lists.php.net to get a copy of this message | ||
Note Submitter: JRodrigues
----
Im trying put a link to run programs such calc, notepad, etc into a php link but no success.
I tried with system and exec but neither works.
I trying like this:
<?php
$commando = "start calc";
$pasta = "exec('$commando')";
echo "<a href=$pasta>start a program</a>";
?>