SHEIKH Sajjad wrote:
> Thanks for ur response.
> 
> I explain the issue in detail.
> 
> Lets take a html file
> 
> <html>
> <head><title></title></head>
> <body>
> <a
> href="c:\1xml\request_form.pl?id=1&lastmodified="12-10-03"&name=world.do
> c">Order It Now</a>
> </body>
> </html>
> 
> When I click on Order It Now.  It actually fires the URL
> "c:\1xml\request_form.pl?id=1&lastmodified="12-10-03"&name=world.doc".
> 
> I want Perl to get this URL.  And then place the values of id,
> lastmodified and name in a form as following
> 
> <form method="post" action="sendmail.pl">
> ID: <input type=text name="id" value="1"/>
> Last Modified: <input type=text name="lastmodified" value="12-10-03"/>
> Name: <input type=text name="name" value="world.doc"/>
> </form>

That's just simple CGI parsing.  If you don't have the expertise in CGI,
use CGI.pm to retrieve your args into vrbls.  Then it's a simple matter
to plug the vrbls into your HTML or you can use CGI.pm's HTML calls to
create your form.

I would start by just using the parsing routines in CGI.pm and once
you're familiar with retrieving args, you can see if you want to use
the HTML building methods.  You can always just write your own HTML
and insert whatever you like.

-- 
  ,-/-  __      _  _         $Bill Luebkert    Mailto:[EMAIL PROTECTED]
 (_/   /  )    // //       DBE Collectibles    Mailto:[EMAIL PROTECTED]
  / ) /--<  o // //      Castle of Medieval Myth & Magic http://www.todbe.com/
-/-' /___/_<_</_</_    http://dbecoll.tripod.com/ (My Perl/Lakers stuff)

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to