DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Perl (http://www.daniweb.com/forums/forum112.html)
-   -   perl beginner question (http://www.daniweb.com/forums/thread158882.html)

localp Nov 22nd, 2008 12:10 am
perl beginner question
 
i want decode a url, can please some one help me
http://localhost/cgi-bin/p.pl?Name=jenny&address=oxford+street+&address=Enter+your+working+place+if+any+or+state+%27NO%27&button=SUBMIT
how do i extract the name and other information from this url and save it to a variable. and save it to an array

please help i am an absolute beginner

KevinADC Nov 22nd, 2008 1:38 am
Re: perl beginner question
 
The standard way is to use the CGI modeule that comes with perl.

http://perldoc.perl.org/CGI.html


All times are GMT -4. The time now is 7:30 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC