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

Re: •Re: anti leech CGI

by hiseldl (Priest)
on Oct 30, 2002 at 15:42 UTC ( [id://209115]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $remote = remote_host();
    return(0) unless grep /$remote/, @$hosts;
    
  2. or download this
    my $remote = remote_host();
    # a domain or an ip can be letters or numbers seperated
    ...
    return (0) unless length($remote) > 3;
    return (0) unless grep /$remote/, @$hosts;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-03-28 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found