开发者

Img upload help

开发者_JAVA技巧

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜