in reply to Re: need to post a string without user intervention
in thread need to post a string without user intervention
to thisif($response->code == 200) { print $response->as_string; }
So I guess the above script has no effect on the 500 internal server error. I am trying to post the result to another script (a php script) on the same serverif($response->code == 200) { my $last=""; $last = $response->as_string; my $ua = LWP::UserAgent->new; my $action = 'http://www.booksforeducation.com/testbed/fred.php'; my $form = {xml => $last}; my $response = $ua->post($action, $form); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: need to post a string without user intervention
by dpetrov (Acolyte) on Jun 03, 2009 at 07:39 UTC |