View Single Post
Old 25-03-2009, 13:06   #4
TheDon
Inactive
 
Join Date: May 2007
Posts: 1,567
TheDon has reached the bronze age
TheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze ageTheDon has reached the bronze age
Re: need help with pointing to an ubuntu directory. Using LAMPP

Using scandir every time and building the array will give a pretty significant performance hit, so using a table would probably be the easiest way to do it.

Then you'd just need a separate script that you run when you've added pictures to the directory to add them to the table.
TheDon is offline   Reply With Quote