Hi, I would like to create a form where a user can click browse, have the file picker open, and they can choose a file.

I don't want to upload the file, just get the directory and the filename. Parsing the directory and filename isn't a problem, just getting the information

In my searching, I don't see how to use the file type
I'm using this as a base code to get started and figure this out.

<form action="upload.php" enctype="multipart/form-data" method="POST">
File: <input name="upload" type="file" /> 

<input name="submit" type="submit" value="Get Directory and File Name" />
</form>

Thanks!
Harv Lake

Nevermind. I was thinking all wrong. Now I know what I need to do.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.