PHP 4.01, Apache 1.3.14, Redhat 7.0
The following line in a PHP script gives a parse error. The file is there and the same script has just written it (not a permissions problem).
exec(rm -f $voucher_print);
The same happens for system()
If the command within the brackets is quoted ie:
exec("rm -f $voucher_print");
Then no error, but it doesn't actually do anything either.
Can somebody tell me what I'm doing wrong here ?
Thanks
Paul