Jump to content

Getting local drive path


programming.name

Recommended Posts

Hi,

 

Please consider the following code:

 

<form enctype="multipart/form-data" action="test.php" method="post">
      <input name="uploadedfile" type="file" size="57" />
</form>

 

From the code, is that possible to get a local drive's path of a file to be uploaded? For example, If I want to upload a file called 'a.jpg'  and the file is in "C:\images". I want to get the whole path including the file name like "c:\images\a.jpg". Is this practically possible?

 

Thanks.

Link to comment
https://forums.phpfreaks.com/topic/203421-getting-local-drive-path/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.