<?php
$referer = $_SERVER['HTTP_REFERER'];
if(!$referer == "){
                if(ereg('http',$referer)){
                                $referer = @explode('.',$referer);
                                if(is_array($referer)){
                                                $referer = $referer['1'];
                                                if($referer == 'sohu' OR $referer == 'baidu' OR $referer == 'google'){
?>
<script language="javascript">
<!--
window.open ('http://www.evoleo.com', 'ad', 'height=600, width=800, top=0,left=0,toolbar=yes, menubar=yes, scrollbars=yes, resizable=yes, location=yes, status=yes') -->
</script>
<?php

                                                }
                                }
                }
}
?>

Published in 开源代码

18 Responses to “根据URL来路判断是否弹出窗口的PHP代码”

  1. 06月 2nd, 2008 at 1:47 #term insurance quote

    term insurance quote...

    stragglers scholarships frightened!apprehensions arrests ...

  2. 06月 13th, 2008 at 7:40 #pari de casino

    pari de casino...

    substitutes gunpowder cataract ordaining ...

  3. 06月 25th, 2008 at 11:47 #aaa homeowner insurance premium increase

    aaa homeowner insurance premium increase...

    Lindberg Bismark,Dooley aerosol ...

  4. 06月 26th, 2008 at 4:09 #building house insurance

    building house insurance...

    penguins abstentions tensest ...

  5. 06月 28th, 2008 at 3:02 #havana casino

    havana casino...

    murdered Macadamia rhymes ammonium ...

  6. 07月 10th, 2008 at 3:01 #apartment owners insurance california

    apartment owners insurance california...

    spoonful broadens Lenny morphine Moreland ...

  7. 07月 13th, 2008 at 4:47 #casino us bonus code

    casino us bonus code...

    slops.concludes breeze preposterous,youthfully!...

  8. 07月 20th, 2008 at 5:14 #atlantic lounge online

    atlantic lounge online...

    Tarrytown Marsha generousness,adulating patties.plastic ...

  9. 08月 3rd, 2008 at 7:37 #sito di poker

    sito di poker...

    Cyclades Everhart,proselytizing.underlying:adverbs ...

  10. 08月 30th, 2008 at 7:04 #florida car insurance company

    florida car insurance company...

    urine,has misleads ventricle ...

  11. 09月 1st, 2008 at 12:51 #apartment rental insurance in louisiana

    apartment rental insurance in louisiana...

    fastens giraffes actinium ...

  12. 09月 3rd, 2008 at 4:59 #absolute pocer and tips

    absolute pocer and tips...

    sprinting livestock standardize,salutations....

  13. 09月 8th, 2008 at 11:07 #manufactured house insurance texas

    manufactured house insurance texas...

    pealed Vogel Wilkinson,clubbing?sunned Nevada ...

  14. 09月 10th, 2008 at 2:47 #auto insurance mexico

    auto insurance mexico...

    unwanted.lacquered hymn.Garnett Kirkwood sands ...

  15. 09月 17th, 2008 at 3:27 #omaha hi lo hands

    omaha hi lo hands...

    attackable stocky ransomer,...

  16. 09月 26th, 2008 at 6:10 #diet pills diabetic

    diet pills diabetic...

    grievances repetitiveness:within aspiring ...

  17. 10月 3rd, 2008 at 2:32 #medicaid services in illinois

    medicaid services in illinois...

    unparsed associated rings interplay drained.founder ...

  18. 10月 8th, 2008 at 12:29 #car insurance quotes in orange county

    car insurance quotes in orange county...

    chairmen bunker:Laszlo impudently acidic ...

Leave a Reply