According to the manual for PHP, I should be able to run a shell command
I'm trying to copy some php files from one location to another one using
exec() but fail.
if(exec("/bin/cp -f /home/web/public/min-pizza/master/
/home/web/public/min-pizza/$postnr/$folder/") == TRUE)
echo "... masterfiles copied ...";
$postnr = 2720
$folder = 38747117-robertos
They are created dynamically and must stay as they are, it's a standard
format for creating folders and consequently copying files.
But can't do it ... I've read and read, found no solution so far.
Any help is highly welcome.
Registeret Linux user #292411...