Home  >  Article  >  Backend Development  >  INCLUDE有关问题 求教

INCLUDE有关问题 求教

WBOY
WBOYOriginal
2016-06-13 11:10:48690browse

INCLUDE问题 求教
写了一个验证码页面 在另一个包含HTML的页面引用 使用INCLUDE一引用 验证码的框就在页面上显示出来了。求教如何引用后 并且不让验证码的框显示出来。谢谢

PHP include
------解决方案--------------------
可以用session来判断验证码数据。
但这样,验证码以图片形式传送就失去意义了。
另外可以用ajax来检测输入的文本是否跟验证码相同。
Statement:
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