Therefore the index file I am talking about will be:
c:\\Desktop\User\Pics\Volvo S80 parts\Volvo S80 parts.php
It has to be .php extension.
This makes no sense. If it has a ".php" extension then it must be a PHP *PROGRAM* page. That's nutso. You should have a single PHP program page (though why does it *HAVE* to be PHP? Why not JSP or CGI? If you aren't a programmer, why do you care?) that is capable of finding AND READING and working with *ALL* the varioud index files.
It would make more sense to have
c:\\Desktop\User\Pics\Volvo S80 parts\pixtureIndex.idx
That is, use a custom extension that the PHP (or other) program page can look for and work with. One page that can handle *ALL* the index files.