Re: exec and system do not work

From: Date: Mon, 26 Aug 2013 21:32:00 +0000
Subject: Re: exec and system do not work
Groups: php.general 
Request: Send a blank email to php-general+get-321979@lists.php.net to get a copy of this message
On 26 Aug 2013 at 22:01, PhD Ethan Rosenberg <erosenberg@hygeiabiomedical.com> 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

« previous php.general (#321979) next »