In message <[EMAIL PROTECTED]>, J Siegel <[EMAIL PROTECTED]>
writes
>> I have a few property listing sites, and usually use a standard
>> reference to find the properties.  
>
>What if you have, oh say 100,000 images?  Is it still better to have 
>file references and save the images as normal files? 

If the site is larger, (more than about 500 properties), I divide the
images folder into subfolders, each of will hold 100 properties.  It's
easy enough for PHP to do the calculation to find out which folder the
image will be in.

Folder images/0000 holds images for properties 0 to 99
Folder images/0001 holds images for properties 100 to 999

Although I do know that some people just bang all the images into one
folder, it then becomes a pain if I want to use my FTP program to fiddle
with something, because it only returns 2000 (?) files at once.

> What about a 
>million images?

Then I will get someone else to figure out, 
I will be able to afford it...  <G>

-- 
Pete Clark

Free advertising for your website, business, or organisation at:
http://www.hotcosta.com/resources.php




The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning.  
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to