RE: [PHP] File lsiting exec(ls... using variables.

2003-06-13 Thread Jay Blanchard
[snip] I'm trying to add a variable to the end of a directory listing. This will give me the root directory and show me all the files exec('ls /home/httpd/vhosts/sitename.com/httpdocs/resumes/', $filelist); [/snip] Have you thought about using http://us4.php.net/manual/en/function.opend

[PHP] File lsiting exec(ls... using variables.

2003-06-13 Thread Vernon
I'm trying to add a variable to the end of a directory listing. This will give me the root directory and show me all the files exec('ls /home/httpd/vhosts/sitename.com/httpdocs/resumes/', $filelist); I figured I could do this but it shows me all the files in the root of the site not of th