|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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-forum.com/. |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
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-forum.com/. |
|
![]() |
| Outils de la discussion | |
|
|