shocker-z Posted January 27, 2007 Share Posted January 27, 2007 Is there a way to see the local path of a file that a user is trying to upload?I'm wanting to know this because im wirting a script to generate a INI file which includes absolute paths to files on a system.So for example if i chose to upload a file off my computer "C:\program files\testfolder\testdatabase.mdb" then i can locate that using the file browser on the page and when i submit i can use that path as a variable to enter into the INI in which im creating.RegardsLiam Quote Link to comment https://forums.phpfreaks.com/topic/35993-file-upload-full-local-path/ Share on other sites More sharing options...
bibby Posted January 28, 2007 Share Posted January 28, 2007 I'm going with no on this one.If you want to see everything that is known though,[code]print_r($_FILES);[/code] Quote Link to comment https://forums.phpfreaks.com/topic/35993-file-upload-full-local-path/#findComment-170859 Share on other sites More sharing options...
shocker-z Posted January 28, 2007 Author Share Posted January 28, 2007 ok thats fine i will post in javascript forum and see if there is a way of setting another variable after clicking openThanks anyway mate :)Liam Quote Link to comment https://forums.phpfreaks.com/topic/35993-file-upload-full-local-path/#findComment-171082 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.