im working on a server (not my choice, clients choice (cant change)).....
and theyv disabled backticks for security reasons.. i need to view the contents of a directory, for example... before, if i wanted a file listing i could go
$newfolder = "foldernamejustpulledfromdatabase";
$dirlist = ls -l /home/httpd/www.poipoi.com/docs/catalog/$newfolder;
$files = explode("\n",$dirlist);
foreach ($files as $filename){
do file stuff...
};
i still need to do the file stuff... however, cant do the ls -l... need an alternative function to retreive files from a directory
help?