PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I need advice of resolving problem with uploading images on server in one package.
My client has shop with 8.000 articles and 8.000 jpeg images. Each picture name is code of article (example 7765456.jpeg where 7765456 is code of article)
Is there a way to upload pictures in one (or more) packages?
My opinion is to make it like this:
- Put pictures in zip file (on local machine)
- Upload and unzip that file on server in one folder
- check each picture name
- move picture on folder with name - code of article
- update path of the picture in database
- unlink uploaded file on server