PHP 图片防盗链的一段代码

该代码还未测试,有时间在测试。。
 
 0; $xbit >>= 1, $xpos ++)  {
                            if ($bits & $xbit) {
                                imagesetpixel($image, $xpos, $ypos, $color);
                            }
                        }
                    }
                    $x += 16;
                }
            }
            else {
                imagestring($image, 12, $x, $y, $strings[$p], $color);
                $x += strlen($strings[$p]) * 9;
            }
            $isch = !$isch;
        }
        return 0;
    }
?>

你可能感兴趣的:(PHP)