Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

How do I find the full url of the script as it executes?

by Anonymous Monk
on Dec 12, 2000 at 23:30 UTC ( [id://46299]=perlquestion: print w/replies, xml ) Need Help??

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

  • Comment on How do I find the full url of the script as it executes?

Replies are listed 'Best First'.
Re: How do I find the full url of the script as it executes?
by chipmunk (Parson) on Dec 12, 2000 at 23:43 UTC
    I like to use the CGI module's url() method for this. It has various options for specifying how much of the URL you want.
Re: How do I find the full url of the script as it executes?
by merlyn (Sage) on Dec 12, 2000 at 23:47 UTC
    If you're a CGI program, and you are using CGI.pm, look at its documentation, search around for "self_url" and look at the nearby information.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (1)
As of 2024-04-25 03:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found