PDA

View Full Version : [SOLVED] mv command inside php script



Cardale
November 20th, 2009, 01:39 AM
I am executing a mv command inside my php script and it isn't working. I was wondering if there was a way to generate a log file when executing commands through php?

Also I would like to be able get this working. Should I change the file ownership since it is outside my /www directory? permissions? Any insight would be great since this worked perfectly on my last server.


$command = "mv /var/www/user/scripts/* /home/user/Games/mygame/scripts/";

Cardale
November 20th, 2009, 02:25 AM
Nevermind got it babY!