Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8538709
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:11:11+00:00 2026-06-11T11:11:11+00:00

I store the images in folder. So how should I ask the user to

  • 0

I store the images in folder.
So how should I ask the user to upload images in the form?

I mean the user will upload the image using the upload button. Then after filling the form,
the user will submit it.
So when I am showing the contents of form again, how do I check which photo was related to which form .

Also how to position the image in a textarea?
Should I ask the user to put code <img src="example.com/images/name_of_image"/> in the textarea where he wants to display the image?
Is it safe to expose the image path to user?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:11:12+00:00Added an answer on June 11, 2026 at 11:11 am

    Anyway I am answering form what I get your problem is. It is always better to write the complete programming part by the programmer and it is always better if the user enters only plain English. In my opinion if you are taking input form a user then use this technique.I am considering that you have a database and you are confortable using it.
    1. Take input form a user and ask them to upload the image
    2. Make a PHP script to store the image in the webserver
    3. Create a table:
    +—-+————+————-+
    |slno|username|imagename|
    +—-+————+————-+
    4. Now store the image name using $_FILES["file"]["name"]
    5. You can show your image form the user just by using a simple SELECT command.
    6. Make sure you have your unique id.

    Ref:Nice tutorial form w3schools.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

in my project i store images(uploaded by user) in a folder, for each respective
We're currently using folders inside webroot to store images and videos which we're loading
I want to download image from url and store in sdcard's folder. If folder
In LibGdx, texture image is stored in asset folder and loaded using following code.
The best way to store images into MySQL is by storing the image location
Using CarrierWave and Amazon S3, I'm able to store images from local files, but
Hey guys currently I am thinking of serving images using an image handler script.
I need to add images into res/drawable folder dynamically as the user select images
Where can i store picture while paging. Whether it should be stored in folder
I use .NET C# , I dynamically create folder to store the image I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.