[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Post data

Lee Jarvis

9/15/2007 9:17:00 AM

Ok guys lets say i have a form like this in a webpage

<form action="nextpage.php" method="post">
<input type="text" name="name" />
<input type="text" name="age" />
<input type="submit" />
</form>

Is there any way to send post data and then grab the source of
nextpage.php? Could anyone give me a small example of how to do it? I
can't seem to work it out.

tia
--
Posted via http://www.ruby-....

1 Answer

Lee Jarvis

9/15/2007 9:50:00 AM

0

Lee Jarvis wrote:
> Ok guys lets say i have a form like this in a webpage
>
> <form action="nextpage.php" method="post">
> <input type="text" name="name" />
> <input type="text" name="age" />
> <input type="submit" />
> </form>
>
> Is there any way to send post data and then grab the source of
> nextpage.php? Could anyone give me a small example of how to do it? I
> can't seem to work it out.
>
> tia

Nevermind.. I have

Net::HTTP.post_form

thanks anyway
--
Posted via http://www.ruby-....