Anyone that can solve this needs a medal!!!

I have a standard Java-style image preloader running at the moment... but it's hardly ideal.

It just has an array where you manually add each image you want to preload. It takes too long to do, so is there a PHP/CGI script which AUTOMATICALLY preload's all the images in a certain folder?

So instead of... "images/1.jpg","images/2.jpg...etc"
I could... "images/*.jpg"

Thank you in advance.

Regards,

Paul.