Welcome Guest, Not a member yet? Register   Sign In
How to list files from user desktop or any drive in browser
#5

[eluser]yelirekim[/eluser]
I think you're making your problem a lot more complicated than it needs to be.

You don't need to code anything in javascript or flash or anything like that in order to get a user to select and upload a file, all of this stuff is taken care of automatically by every major browser for all HTML specifications, you just need to use an file input on any standard (X)HTML form and it will create a browse button, and associated pop-up dialog for file selection, for you.

Try putting this code on a page and viewing it in a browser, see what happens.

Code:
<form action="file_upload.php" method="post" enctype="multipart/form-data">
<input type="file" name="uploadFile">
<input type="submit" value="upload">
</form>


Messages In This Thread
How to list files from user desktop or any drive in browser - by El Forum - 08-11-2008, 03:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB