R
Rajesh Huria
Hi,
I am new to this forum. so forgive me if my post replicating old post.
Ok I have a ruby script with xml input file. ruby script extract
required info from xml file and present in html output with help of
nokogiri lib.
Ruby script is working fine. right now, we need to install ruby and
nokogiri on all machines to run ruby script. I want to put it like a
website. so i configured apache over my ubuntu machine. its working
fine. i can access index page on server from all machines.
What i want?
I want to design html page with form tag like:
<form action="server address"
enctype="multipart/form-data" method="post">
<p>
Please specify a file<br>
<input type="file" name="datafile" size="40">
</p>
<div>
<input type="submit" value="Send">
</div>
</form
So whenever user select xml file and press send. input file should go to
ruby script on server and html output will be generated. user get output
over his/her browser. I dont know how to do it i am trying to figure
it out.
I am new to this forum. so forgive me if my post replicating old post.
Ok I have a ruby script with xml input file. ruby script extract
required info from xml file and present in html output with help of
nokogiri lib.
Ruby script is working fine. right now, we need to install ruby and
nokogiri on all machines to run ruby script. I want to put it like a
website. so i configured apache over my ubuntu machine. its working
fine. i can access index page on server from all machines.
What i want?
I want to design html page with form tag like:
<form action="server address"
enctype="multipart/form-data" method="post">
<p>
Please specify a file<br>
<input type="file" name="datafile" size="40">
</p>
<div>
<input type="submit" value="Send">
</div>
</form
So whenever user select xml file and press send. input file should go to
ruby script on server and html output will be generated. user get output
over his/her browser. I dont know how to do it i am trying to figure
it out.