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

  • SEARCH
  • Home
  • 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 9046091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T11:33:17+00:00 2026-06-16T11:33:17+00:00

I am working on a PHP project, in which I need to store a

  • 0

I am working on a PHP project, in which I need to store a path of an image when user select an image from open dialog box from a specified directory. How can I do this? I don’t know how to open the Open/Browse dialog box and how to get that path in PHP/javascript. And I want that my other form data don’t flush when I open the Open/Browse Dialog.(I want to put image file’s path that user has selected in my database, so I can reduce my database size.)

  • 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-16T11:33:18+00:00Added an answer on June 16, 2026 at 11:33 am

    You can put a form element by using <input type="file">

    If you only want the path without uploading the file. You can use javascript.

    If you post the data to the server file’s info will be available to PHP but also the file will be sent to server as well.

    Check the Javascript File Api examples here if you want more ..
    http://www.html5rocks.com/en/tutorials/file/dndfiles/

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

Sidebar

Related Questions

I started working on a project which uses Net_URL_Mapper from PEAR (php) as the
I'm working on a project(PHP Based) in which I need to compute SHA1, I'm
I am working on a php project that needs to store information about various
I am working on a project that pulls data from JMS queue using PHP
I'm working on a URL shortener project with PHP & MYSQL which tracks visits
I was working on a school project and the formmail.php given from the instructor
Having recently begun working on a project which might need (good) scaling possibilities, I've
I'm working on a project in GWT, however, I need to store the uploaded
We're working on a PHP project, which has been in development for more than
For a project I was working on I need a queue which will be

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.