I am having a fatal error while calling a scandir function. It says undefined function scandir.Is it a problem for any php version?
Plz…help me.
Scandir function in PHP5
It works in PHP5 on Dreamhost. You can try this simple on:
<?php $dir = '.'; $files1 = scandir($dir); print_r($files1); ?>