Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Rebuilding GET Parameters without ENV{'REQUEST_URI'}

by svsingh (Priest)
on Jul 01, 2004 at 17:36 UTC ( #371184=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $url = "http://$ENV{'SERVER_NAME'}/$ENV{'REQUEST_URI'}";
    
  2. or download this
    my $url = "http://$ENV{'SERVER_NAME'}/$ENV{'PATH_INFO'}?";
    foreach (param) {
        $url .= "&$_=" . param($_);
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://371184]
Approved by Old_Gray_Bear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-07-11 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?