I'm trying to use thie code to explore a directory
PHP Code:
$pathtoImages "../providers/images/".$_GET['id'];
echo 
$pathtoImages;
if (
$dir opendir$pathtoImages )) {
echo 
"Directory Handle: $dir\n";
echo 
"Entries:\n";

  
// loop through it, looking for any/all files:
  
while (false !== ($filename readdir$dir ))) {
      echo 
"$filename\n";
      
closedir$dir );
    }

On
http://fixmysite.us/masterasp/admin/...nails.php?id=2
the directory has 2 images in it
http://fixmysite.us/masterasp/providers/images/2/

What is the problem here?

Thanks...