Jump to content

Hi linking an image with a session id


takn25

Recommended Posts

Hi, I would like some guidance. I have discussed with a few people and they have told me its best to store an image only in either one of these Mysql BLOB or in a folder on the website. I understand how to link the image, stored in a blob with the users SESSION but I dont understand how will I link the image stored on a folder with the user who is logged in at that time. Basically in more clear words what I am after is if the user logged in uploads an avatar and I store the avatar on a folder how will I tell php that this is the avatar for the user logged in. Another question is there a way I can create a folder with PHP for each individual user registered on my website example with their ID?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.