On Thu, 7 Jul 2005, David Dorward wrote: > On Thu, Jul 07, 2005 at 03:00:02PM +0100, Neville Hodder wrote: > > I am in the process of learning how to use the CGI.pm module but can not > > find a method that will allow me to simply choose a 'remote' file. I > > need to be able to return the value "path+filename" of a file that the > > user has browsed to using something like the standard HTML form type: > > It isn't possible. For that sort of thing you'll need something like > an ActiveX control with permission to read the user's file system. (Or > to get the user to type the path to the file).
And that, in turn, can only be reliable with IE on Windows. It does nothing for the growing minority that uses alternative browsers (Firefox, Opera, Safari, etc) or operating systems (OSX, Linux, etc); I'm not aware of anyone getting ActiveX to work on anything other than the IE/Windows combination. Admittedly, that's something like 90% of web users, but Firefox, in particular, seems to be growing fast now. Out of curiosity, why do you need to do this? What problem are you trying to solve ? Could you get the result you need by some way other than figuring out remote file paths ? -- Chris Devers -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>