Home > Backend Development > PHP Tutorial > 网站源码是PHP的,关于验证码的解决方案

网站源码是PHP的,关于验证码的解决方案

WBOY
Release: 2016-06-13 12:15:32
Original
1020 people have browsed it

网站源码是PHP的,关于验证码的
我想修改这个验证码,另外他是如何调用的,总感觉他的调用是有问题的,比如,我传到虚拟空间,正常的,本地测试也是正常,但是我想在本地发布出去的时候验证码要嘛不显示,要嘛能显示,但怎么输入都是错误的,怎么办
------解决思路----------------------
输出验证码的时候,打印一下session,看看是否一致
------解决思路----------------------
我想你因该不知道验证码的名称,所以印出所有session来看看吧
$string = session_encode();
echo $string;

------解决思路----------------------
但是我想在本地发布出去的时候验证码要嘛不显示,要嘛能显示

找出显示与不显示两种情况下的服务器和域名区别

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template