Gossamer Forum
Home : General : Perl Programming :

LWP: redirect

Quote Reply
LWP: redirect
Apologies for our newbie-ness.

Using Perl and LWP we are posting genetic sequence information into a form on Primer3 website.

We want then to grab the results, but these come in a page with a different URL.

i.e. when using the website, the "Go" button takes you to a new page.



Original Page ;- http://www-genome.wi.mit.edu/...imer/primer3_www.cgi

Results Page ;- http://www-genome.wi.mit.edu/...mer3_www_results.cgi



We cannot get the 'redirect' working to grab the contents of the results page. Frown

If 'redirect' is the right approach, can anyone help two newbies to get this working, or does anyone have any other suggestions.
Quote Reply
Re: [eliotbarnett] LWP: redirect In reply to
print "Location: http://www.page.com/something.cgi \n\n";

Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [eliotbarnett] LWP: redirect In reply to
use CGI;

$cgi->redirect($url);
--
Motiv8x
Top25Web.com: Ranking and Link Popularity Report
Quote Reply
Re: [motiv8x] LWP: redirect In reply to
my $cgi = new CGI;

Wink