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

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -