hmbrglr
08-11-2002, 07:33 AM
i have like 983462364 images and i want them all on one page but i dont want to have to type out the image tag every time so cant i make it so that i put the images ina folder and it will just add it to the page?
|
||||
image loadinghmbrglr 08-11-2002, 07:33 AM i have like 983462364 images and i want them all on one page but i dont want to have to type out the image tag every time so cant i make it so that i put the images ina folder and it will just add it to the page? firepages 08-11-2002, 09:34 AM that's gonna take a long time to dislay ;) $d = dir("images"); while (false !== ($entry = $d->read())) { if(substr($entry,-3,3)=='gif' || substr($entry,-3,3)=='jpg'){ echo "<img src=\"$d->path.$entry\"><br />"; } } $d->close(); |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum