does anybody knows how can i read the directory contents with a remote addr? I mean read all the files placed at:"http://www.server.com/direc"
thanks
fabrizzio
Moderators: macek, egami, gesf

if ($dir = @opendir("./mydir_from_this_diectory")) {
while (($file = readdir($dir)) !== false) {
echo "$file<br>";
}
closedir($dir);
}

Return to PHP coding => General
Users browsing this forum: No registered users and 1 guest