note 28417 deleted from function.shell-exec by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 04:53:46 +0000 |
| Subject: | note 28417 deleted from function.shell-exec by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48440@lists.php.net to get a copy of this message | ||
Note Submitter: jq@mail.bg
----
Well, it took some time for me to realise how to pass my existing variables in php to the shell..
Here is the way:
$ex="chown -R Unixuser ".$p.";chgrp -R Unixgroup ".$p." ";
shell_exec($ex);
//echo $ex; - for debug