PHP scandir causing extra files

mlodymlody1

New Member
Why is it when i use scandir using PHP i get extra values\[code\]$portID = $this->id;$dir = '/home/sites/mydomain.com/public_html/public/images/'.$portID;$contents = scandir($dir);\[/code\]Is there something i dont know about the function which produces more values than are actually in the folder?
 
Back
Top