-
多服務(wù)器時,集中式管理session,memcached查看全部
-
a-z,0-9 之間相似的字符最好去掉查看全部
-
imgagestring 水平畫一行字符串(驗證碼) imagesetpixel 畫一個單一像素 (干擾點) imageline 畫一條線(干擾線)查看全部
-
1.注意隨機數(shù)字的坐標(biāo)($x,$y)和大小,顏色查看全部
-
php生成一張未加干擾的底圖代碼查看全部
-
輸出圖片前,必須**提前**輸出圖片`header`信息查看全部
-
驗證碼技術(shù)點 1.生成底圖 2.生成驗證碼內(nèi)容,無規(guī)律,隨機 3.把底圖和驗證碼整合成一張圖片 4.保存在服務(wù)器并驗證查看全部
-
服務(wù)端:寫請求的消耗遠(yuǎn)大于讀請求, 驗證碼:人/機校驗查看全部
-
驗證碼地圖查看全部
-
bool imageline ( resource $image , int $x1 , int $y1 , int $x2 , int $y2 , int $color )畫一條線段 imageline() 用 color 顏色在圖像 image 中從坐標(biāo) x1,y1 到 x2,y2(圖像左上角為 0, 0)畫一條線段。查看全部
-
bool imagesetpixel ( resource $image , int $x , int $y , int $color )畫一個單一像素 imagesetpixel() 在 image 圖像中用 color 顏色在 x,y 坐標(biāo)(圖像左上角為 0,0)上畫一個點。查看全部
-
bool imagestring ( resource $image , int $font , int $x , int $y , string $s , int $col ) 水平地畫一行字符串 imagestring() 用 col 顏色將字符串 s 畫到 image 所代表的圖像的 x,y 坐標(biāo)處(這是字符串左上角坐標(biāo),整幅圖像的左上角為 0,0)。如果 font 是 1,2,3,4 或 5,則使用內(nèi)置字體。查看全部
-
header("Content-Type:image/png") 告訴瀏覽器輸出的內(nèi)容是圖像(png格式)查看全部
-
bool imagefill ( resource $image , int $x , int $y , int $color ) imagefill() 在 image 圖像的坐標(biāo) x,y(圖像左上角為 0, 0)處用 color 顏色執(zhí)行區(qū)域填充(即與 x, y 點顏色相同且相鄰的點都會被填充)。查看全部
-
bool imagepng ( resource $image [, string $filename ] ) 以 PNG 格式將圖像輸出到瀏覽器或文件 imagepng() 將 GD 圖像流(image)以 PNG 格式輸出到標(biāo)準(zhǔn)輸出(通常為瀏覽器),或者如果用 filename 給出了文件名則將其輸出到該文件。查看全部
舉報
0/150
提交
取消