image uploading question

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!

Moderator: General Moderators

Post Reply
cooler75
Forum Commoner
Posts: 40
Joined: Wed May 29, 2002 2:43 pm
Location: RichIsland

image uploading question

Post by cooler75 »

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
User avatar
AVATAr
Forum Regular
Posts: 524
Joined: Tue Jul 16, 2002 4:19 pm
Location: Uruguay -- Montevideo
Contact:

The best way

Post by AVATAr »

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. :D

hope it helps
cooler75
Forum Commoner
Posts: 40
Joined: Wed May 29, 2002 2:43 pm
Location: RichIsland

Post by cooler75 »

thank you,
wouldn't there be any tutorial out there that has a better solution than searching this forum?

I did do a lil search and couldn't find no result :oops:

thank you
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

Post Reply