•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 361,949 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,627 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 658 | Replies: 2
![]() |
•
•
Join Date: Feb 2008
Posts: 78
Reputation:
Rep Power: 1
Solved Threads: 1
I want to put image uploading in my page and i searched all over the net for some ways on doing this and its seems like almost all of the ways states that i should save it in the database itself not i directories. Will the image retain its properties from its original file upon retrieving a saved image? Can anyone help me how to do this? tanx..
•
•
Join Date: Jun 2007
Location: Valley Center, Kansas
Posts: 489
Reputation:
Rep Power: 2
Solved Threads: 45
•
•
Join Date: Dec 2007
Posts: 95
Reputation:
Rep Power: 1
Solved Threads: 10
It is always better to store the images on disk instead of database. File operations are always faster than database. Saving the images on disk will reduce your database size which will give you comfort when moving database or mainting database.
Don't save images in database unless you have some special requirements.
But if you still interested to same images in database then here is a small post to save images in database.
Don't save images in database unless you have some special requirements.
But if you still interested to same images in database then here is a small post to save images in database.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
- Previous Thread: Selectbox
- Next Thread: update vaules inside textboxes


Linear Mode