Index Directories with jpg and save it to MySQL
Posted: Thu Jun 15, 2006 3:30 pm
Hi,
I'm a newbie with PHP so I dont know how to do what I will be asking for yet.
I upload many photos to different directories within one main Directory, let's call it "fotos" thru FTP.
What I would like to do is to have a code to index or "re-index" (in case of it already exists in the database) all the directories and sub-directories with "images" within them (.jpg) and save them into a database.
I could take some codes to do this, but what I dont know then is how to retrieve them from the database (the structure) and show them back to each page.
Thanks in advance
osvaldo
I'm a newbie with PHP so I dont know how to do what I will be asking for yet.
I upload many photos to different directories within one main Directory, let's call it "fotos" thru FTP.
What I would like to do is to have a code to index or "re-index" (in case of it already exists in the database) all the directories and sub-directories with "images" within them (.jpg) and save them into a database.
I could take some codes to do this, but what I dont know then is how to retrieve them from the database (the structure) and show them back to each page.
Thanks in advance
osvaldo