I am new to PHP and I am trying to create a script. When I load the script, I get the following error:
Warning: opendir (http://www.hetweerinboskamp.nl/voorpagina/movies) [function.opendir]: failed to open directory: not implemented
<?php $hal =''; $dir ='http://www.hetweerinboskamp.nl/voorpagina/movies'; if ($handle = opendir($dir)) { // Loop the folders while (false !== ($file = readdir($handle))) { if(strlen($file) > 4) { $rawd = parsename($file); $hal.= 'new Date('.substr($rawd,0,4).', '.substr($rawd,4,2).'-1, '.substr($rawd,6,2).'),'; //$hal.= $rawd.','; } closedir($handle); }
Geert source share