Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to find out the calling URL??

by Juerd (Abbot)
on May 26, 2002 at 14:41 UTC ( [id://169393]=note: print w/replies, xml ) Need Help??


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

I don't want my script to be executed directly bu user. Is there any way by which i can find out the calling url in PERL.

I assume you're a CGI programmer. You can use $ENV{HTTP_REFERER}, but that will not always work as expected. Actually, there is _no_ way to be sure.

Oh, and there is no PERL. Perl is the language, perl the interpreter.

Mail address: umer911@yahoo.com

If you ask your question over here, you will get the answers over here. The mail address is just bait for spamrobots now.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.

Replies are listed 'Best First'.
Re: Re: How to find out the calling URL??
by cjf (Parson) on May 26, 2002 at 15:10 UTC
    Oh, and there is no PERL

    Of course there is, otherwise why would there be this? ;-)

    And the best quote from the docs...

    Unfortunately there is no documentation for PERL (believe me I've looked everywhere). Therefore, the best thing to do is to go straight to comp.lang.perl.misc and ask your questions there.

    Guess a few of them got lost and found their way here instead.

Re^2: How to find out the calling URL??
by Anonymous Monk on Aug 20, 2004 at 01:06 UTC
    what so wrong about calling perl: PERL. that guy must be new in perl and trying to solve his problem instead of learning it. that's why there is perl. do it quickly without spending hours learning it

      what so wrong about calling perl: PERL

      I think perlfaq1 describes this rather clearly. What part of it do you not understand?

      that guy must be new in perl and trying to solve his problem instead of learning it.

      As far as I know, the focus here is learning, not solving problems. Through learning, one can eventually solve many problems, but acquiring knowledge usually comes before using that knowledge.

      do it quickly without spending hours learning it

      Asking for help without being willing to learn is imnsho abuse of our services. Those who do not want to learn should hire a programmer. See also http://juerd.nl/perl_needhelp.

      Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }

      what so wrong about calling perl: PERL

      Learn how to spell and you will go far in life. -Old Perl Monk Proverb

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-04-16 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found