Kay009 Posted November 2, 2009 Share Posted November 2, 2009 Since i have recently started working on php and i am basically following tutorials to achieve functionality. I need help with image uploader.The image uploader allows registered users to upload/delete multiple images And atleast one of the uploaded img of registered member goes to his/her profile. Can someone assist and tell in detail how this can be achieved.I have found a couple of tutorials which let me upload images but how do i customize it for members only so only they are able to delete them. i Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/ Share on other sites More sharing options...
Goldeneye Posted November 2, 2009 Share Posted November 2, 2009 Well, first you need a user-management system. You also need some way to store the data (either a MySQL, Postgres, Oracle database, or a flat-file database). What you need to store in the database 1) The usernames, passwords, and anything else you want them to register. 2) The uploader of the image, the name of the uploaded image, and the location (if you choose to store images in different directories as opposed to storing them all in just one. Do you have access to any kind of SQL-database? Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-949219 Share on other sites More sharing options...
Kay009 Posted November 2, 2009 Author Share Posted November 2, 2009 yeah i have access to MySQL database. Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-949223 Share on other sites More sharing options...
Goldeneye Posted November 2, 2009 Share Posted November 2, 2009 Okay, so you have to create a table in MySQL. Make one table for users and put in the following fields: field-name: userid -- this INT-type field will be auto-incremented and will have a length of 11 and will be a primary-key field-name: username -- this VARCHAR-type field will have a length of X characters (you can decide what X is) and will be an index-key field-name: password -- this VARCHAR-type field will have a length of 32 characters and will be an index-key Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-949231 Share on other sites More sharing options...
Kay009 Posted November 2, 2009 Author Share Posted November 2, 2009 Okay, so you have to create a table in MySQL. Make one table for users and put in the following fields: field-name: userid -- this INT-type field will be auto-incremented and will have a length of 11 and will be a primary-key field-name: username -- this VARCHAR-type field will have a length of X characters (you can decide what X is) and will be an index-key field-name: password -- this VARCHAR-type field will have a length of 32 characters and will be an index-key I have done this far.Users are able to register and login to my Webpage. Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-949252 Share on other sites More sharing options...
Goldeneye Posted November 2, 2009 Share Posted November 2, 2009 Okay, so what exact part do you need help with? Also, post some code. Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-949605 Share on other sites More sharing options...
_Alex_ Posted November 4, 2009 Share Posted November 4, 2009 Take a look at Q-ImageUploader. It is Flash based uploader with - resize/rotate (on client side!) - multiple image selection functionality - thumbnail generating http://quadroland.com/q_imageuploader/ Link to comment https://forums.phpfreaks.com/topic/179940-image-gallery-for-registered-members/#findComment-950767 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.