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:
<form name="myInput" method="POST">
        <pre>
Select A File:  <input name="fname" type="file"  value="start">
    <input type="button" name="Go" value="Go!" >
        </pre>
</form>

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/.