hello,
I am a PHP newbie currently learning on my own image uploading script. I need somebody to answer a question about dealing with PHP image uploading:
I understand there are 2 ways to upload images to the server using php. One is to the database, one is to the directory/folder. which one is better when you talk about uploading thousand of images? are there any tutorial on how this is done?
thank you
image uploading question
Moderator: General Moderators
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
The best way
Using a database is not a good solution if you are using a very big amount of images.
The best way is to upload the image to a local dir and make a reference to it on the Database.
Search the forum for for the solution.
hope it helps
The best way is to upload the image to a local dir and make a reference to it on the Database.
Search the forum for for the solution.
hope it helps