www.tutorialspoint.com Forum Index
Register FAQMemberlistUsergroupsTutorials PointLog in
Reply to topic Page 1 of 1
PHP FILE UPLOADING QUERY
Author Message
Reply with quote
Post PHP FILE UPLOADING QUERY 
Hi..i would just like to ask..if i do not have a server but i'm just doing a project on PHP Scripts and so there is no server...and i wish to do the uploading file function..is it possible because it seems that once user upload , the image will be stored in the server's temp folder yea..

Is it possible if once user browses to the location, then can do an update function where by the image is stored in the database instead, it gets updated into the database, because i also wanna do a view function where uploaded images can also be viewed by users so once having updated into the database, i can do a select statement to view all the datas inserted in the database?

Is it possible? Would appreciate greatly if someone could assist in the explanations for my query. Thank You!!!!

Sheena

View user's profile Send private message
Reply with quote
Post  
Hi Sheena!

You can upload any file any any directory. It depends what setting you have having in your .ini file.

So talk to your system administrator and he/she should be able to help you.

I won't suggest you to keep your images in database because it will slowdown your database and sooner or later you will be in performance problem. So store your images in any directory and then access them.

Even you are uploading your files in /tmp you can move them into any local directroy.

Hope this help


_________________
Moderator, TP
Keep visiting and share this site with your friends.
View user's profile Send private message Send e-mail
Reply with quote
Post Post Confirmation 
Thanks for your post. This post will be reviewed by webmaster and will be online very soon.!

View user's profile Send private message Visit poster's website
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum