Img upload help
i need coding in PHP where only registered users can upload as many images as they want with the option of deleting them .One of their image goes in their profile next to his/her details.
i want to store the images in server.
You can either:
1) Store the image in a folder and store the location in the database
http://php.net/manual/en/features.file-upload.php
or
2) Pump the image straight into your database (then call a php file that gets it out and displays it based on the id)
http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/uploading-files-to-mysql-database.aspx
精彩评论