Re: exec and system do not work
[email protected] (Tim Streater)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 26 Aug 2013 at 22:01, PhD Ethan Rosenberg <[email protected]> wrote: >>> if( !file_exists("/var/www/orders.txt")); ^ | What's the semicolon doing there -----------+ >>> { >>> echo system("touch /var/www/orders.txt", $ret); >>> echo system("chmod 766 /var/www/orders.txt", $ret); >>> echo 'file2<br />'; >>> echo file_exists("/var/www/orders.txt"); >>> } > If you would point out my syntax errors, I will fix them. See above. -- Cheers -- Tim