Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

URL $ENV variables

by bodmin (Acolyte)
on Aug 04, 2003 at 08:26 UTC ( [id://280596]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $attach1 = $ENV{REQUEST_URI};
      if($attach1 =~ /\\/){
    ...
        my $length = scalar(@filename_parts);
        $attach1 = $filename_parts[--$length];
      }
    
  2. or download this
      $paramstr = "\?".$ENV{QUERY_STRING};
      $attach1 =~ s/$paramstr/;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found