PHP编写的图片验证码类文件分享(3)

<?php session_start(); include "validationcode.class.php"; $code=new ValidationCode(80, 20, 4); $code->showImage(); //输出到页面中供 注册或登录使用 $_SESSION["code"]=$code->getCheckCode(); //将验证码保存到服务器中

您可能感兴趣的文章:

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/9ae3ed3a70d9aec0ef288fc85572cfa5.html