Help for this page

Select Code to Download


  1. or download this
    if ($ENV{'HTTP_USER_AGENT'}=~/^googlebot\/2\.1|slurp|some_other_bot_na
    +me$/){
    
    #put any other routines you want to run on the request -> like logs, e
    +tc here or just...
    ...
    your original script's body here
    }