php
⁽⁽ଘ鲤鱼乡ଓ⁾⁾
这个作者很懒,什么都没留下…
展开
-
php嵌入html代码的三种方法
php嵌入html代码的三种方法 php嵌入html代码的三种方法转载 2021-05-20 17:55:06 · 373 阅读 · 0 评论 -
使用php为html页面创建登录验证码
使用php为html页面创建登录验证码 效果 验证码的创建 <?php //1.创建画布 $canvas=imagecreatetruecolor(100,30); //2.创建背景颜色 $bg_color=imagecolorallocate($canvas, 0xCC, 0xCC, 0xCC); //3.填充颜色(注意:上面的第二步只是创建对应的颜色,第一个参数放画布是因为,画布分为rgb和真彩,所对应的rgb值有所不同) imagefill($canvas, 0, 0, $bg_color);转载 2021-05-09 14:36:11 · 470 阅读 · 2 评论