programming.name Posted May 31, 2010 Share Posted May 31, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/203421-getting-local-drive-path/ Share on other sites More sharing options...
trq Posted May 31, 2010 Share Posted May 31, 2010 Is this practically possible? You would need to ask the user to supply such details within a text input field or similar. Quote Link to comment https://forums.phpfreaks.com/topic/203421-getting-local-drive-path/#findComment-1065683 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.