Re: exec and system do not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 26 Aug 2013 at 22:01, PhD Ethan Rosenberg <erosenberg@xxxxxxxxxxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux