I am new to PHP, so here is a simple question.
I found the safe mode ls command in an earlier posting.
When I try to access it on the command line, it works
great. When I put it into a php script, I only get the
last file. Here is my script:
$arr_do = array(exec("/big/dom/PHP_bin/ls -l /big/dom/PHP_bin/ls /big/dom/xgu
Which returns the name of the last file in the directory in a scalar variable (not a one set array). Clearly, I don't
know how to set up an array. But I am following the instructions in the only PHP book I could find (by David Medinets).