From: Zhan feng Wang Date: 2007-08-20T09:21:00+09:00 Subject: how can I open a local file? Hi,friends, how can I get the path of a local file, so that I can open and read the file? in my webpage I have following:
Select A File:  
    
        
And e.g. I will get the fname="/home/wym/exdir/ruby/file1.rb", here the path if local, how can I get the IP of the local path if my ip="http://127.0.0.1"? Thanks -- Posted via http://www.ruby-forum.com/.