Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to find out the calling URL??

by JayBonci (Curate)
on May 26, 2002 at 20:10 UTC ( #169425=note: print w/replies, xml ) Need Help??


in reply to How to find out the calling URL??

What may be more accurate than the referrer is the virtual_host and the script_name. If you're using CGI.pm, then there's always this:
return $query->virtual_host()." - ".$query->script_name();
Where $query is your CGI object. I got this from the perl CGI documentation located here. Of couse I could be way off for what you need. If you add a little more description of your situation and some code, we may be able to assist you further.

    --jb

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://169425]
help
Chatterbox?
[Corion]: Cool. Google makes it easier for me to wean myself off Google Keep. The app now insists on saving items online before displaying them in the offline view.
[Corion]: I should maybe set up a "public" instance of my clone just to manage feature suggestions ;)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (11)
As of 2017-04-25 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (450 votes). Check out past polls.