shell exec - Php Shell_exec failing to output a file -
hi guys i'm trying
shell_exec("command"); #this works shell_exec("ls > outfile"); #the directing file not work` [my own command instead of ls]: ls > outfile
so tried running ls first see if works doesn't. can run on command line php can't i.e screen goes blank in browser. have ensured directory has permissions.
Comments
Post a Comment