3 Topics

Member Avatar for
Member Avatar for Chirag_97

Here is my Code ::: <?php if ($handle = opendir('images/')) { echo "Directory handle: $handle\n"; echo "Entries:\n"; while (false !== ($entry = readdir($handle))) { echo "$entry\n";?><br/> <?php } /* This is the WRONG way to loop over the directory. */ while ($entry = readdir($handle)) { echo "$entry\n"; } closedir($handle); } …

Member Avatar for AndrisP
0
204
Member Avatar for andreiviziru

Hi i have a long script named **images.php** that handles the image manipulation and the following script to handle multiple images at once <?php // load the image manipulation class require '../../image.php'; // create a new instance of the class $image = new Zebra_Image(); $directory = 'jocuri'; if ($handle = …

Member Avatar for andreiviziru
0
220
Member Avatar for shuka79

Hi Guys I am currently using the opendir to display all files and folders in a specific directory code below. It displays great however it display each file twice. If it is a folder then it will just display once. I have check the folder on the server and there …

Member Avatar for shuka79
0
171

The End.