Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to make a <a href> link run a CGI script while passing parameters?

by snadra (Scribe)
on May 12, 2004 at 10:37 UTC ( [id://352688]=note: print w/replies, xml ) Need Help??


in reply to How to make a <a href> link run a CGI script while passing parameters?

I think it would be better, if you would use the CGI module (perldoc CGI) to get your parameters. After you know the page you want to call do a redirect to that page. You can do that using the CGI module aswell.
print $query->redirect('http://somewhere.else/in/movie/land');

snadra

Sorry, it took me a while to send this post. Most of it was said already...
  • Comment on Re: How to make a <a href> link run a CGI script while passing parameters?

Replies are listed 'Best First'.
Re: Re: How to make a <a href> link run a CGI script while passing parameters?
by muralikrishna (Initiate) on May 12, 2004 at 10:45 UTC
    I am using param() method but it is returning me a null. It is like this. My page has 2 frames. The left side frame has links like Add Product, Edit Product Info, Delete Product etc. I want these three links to call my products.cgi. I want to know how to do it. I am calling the CGI as hREF=".../admin/products.cgi", I want to know How can I pass the value???

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://352688]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-04-26 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found