trecool999 Posted February 10, 2007 Share Posted February 10, 2007 Ok, I know how to read from a folder on the net, but that is not what I need. What I need, is a viewer that only reads images from the persons hard drive. Is there any way to do this, or am I stumped? Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/ Share on other sites More sharing options...
Hypnos Posted February 10, 2007 Share Posted February 10, 2007 Like read all the images in a directory, without the user submitting them? Basic HTML can't do that. You can have the user submit the image like imageshack, then do with it as you please. But anything more than that requires making a plugin. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181468 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Author Share Posted February 10, 2007 So no 'file://Drive:/Folder/' then? Damn... Thanks anyway . Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181470 Share on other sites More sharing options...
ShogunWarrior Posted February 10, 2007 Share Posted February 10, 2007 You could only do this if the script was running on the person's computer and could therefore access the harddrive but other than that no. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181486 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Author Share Posted February 10, 2007 Yeah, that's what I need. I need it so the user can access their own hard drive and view the photos in the folder. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181489 Share on other sites More sharing options...
ShogunWarrior Posted February 10, 2007 Share Posted February 10, 2007 Will the actual PHP server and code be on their computer? Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181494 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Author Share Posted February 10, 2007 Ok, here: The user will have a folder with images stored in it named 'My Pictures'. Now, what I need to do is to let the PHP access and list the files in that folder with links leading to them or thumbnails. Doesn't matter which. So, unless I need PHP in the folders, no it doesn't. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181498 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Author Share Posted February 10, 2007 Would an iframe work if I directed it to some offline PHP from the net? Or would it still not run, being an offline PHP script and all.. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181524 Share on other sites More sharing options...
ToonMariner Posted February 10, 2007 Share Posted February 10, 2007 I think you are mis-understanding... If you want a website that anyone can visit and it will read their harddrive, you can't (nor should you be able to). If you had the site based on your very own machine - so everything was local - apache & php running on your pc and you only wanting to access your pc then it would be possible. Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181538 Share on other sites More sharing options...
trecool999 Posted February 10, 2007 Author Share Posted February 10, 2007 Ok then. So basically, I can't do it? Right? Quote Link to comment https://forums.phpfreaks.com/topic/37914-reading-from-hard-drive/#findComment-181570 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.