View Full Version : getting variable from URL
meediake
11-25-2003, 05:06 PM
does somebody is there possible in perl to get variable from URL?
dswimboy
11-25-2003, 05:39 PM
given the following URL: http://www.codingforums.com/newreply.php?s=&action=newreply&threadid=29407
the page name is http://www.codingforums.com/newreply.php
the question mark indicates more information
s= is setting the pariable s to undef
ampersand is for another variabls
action=newreply is setting the variable action to newreply.
you must import the variables using the CGI module.
Jeff Mott
11-27-2003, 03:23 AM
http://www.perldoc.com/perl5.8.0/lib/CGI.html#FETCHING-THE-VALUE-OR-VALUES-OF-A-SINGLE-NAMED-PARAMETER-
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.