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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Post data
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password