PHP的数字验证码(Numeric Captcha for PHP)
是否有可用于PHP的数字验证码?
( 不依赖于JavaScript的开启 )
编辑:
- 我知道那里有JS独立验证码。
- 我知道那里有PHP验证码。
- 我知道那里有数字验证码。
但我正在寻找一个PHP数字与Javascript无关的验证码。
我发现的唯一数字验证码是用于ASP.NET或基于jQuery / JS的。
我不希望这些问题中的任何一个作为答案。而我在这里并没有考虑一个小型网站。 在答案中,我想知道你的建议是否会给服务器带来很大的压力。
Is there a numeric captcha available for PHP?
(which doesn't rely on JavaScript being turned on)
EDIT:
- I know there are JS-independent captchas out there.
- I know there are PHP captchas out there.
- I know there are numeric captchas out there.
But I'm looking for a PHP numeric Javascript-independent captcha.
The only numeric captcha's I've found are either for ASP.NET or jQuery/JS based ones.
I don't want any of those as an answer to the question.And I'm not taking about a small website here. In the answer I'd like to know whether your suggestion puts a lot of strain on the server or not.
原文:https://stackoverflow.com/questions/6041555
满意答案
将连接字符串放在某种配置文件(xml或ini或其他)中是有用的,以防您将数据库移动到另一台服务器或更改登录凭据等等...
如果你认为你永远不需要这个并且喜欢重建和重新部署你的应用程序,那么不,你不需要任何带有连接字符串的xml配置文件。
如果您担心安全性,可以将其保存在加密的xml文件中,然后解密它。
It's useful to put your connection string in some kind of config file (xml or ini or whatever) in case you move your database to another server or you change your login credentials and so on...
if you think you'll never need this and prefer to rebuild and redeploy your application, then no, you don't need any xml configuration file with the connection string in it.
If you're worried about security you could keep it in the xml file encrypted and then decrypt it runtime.
相关问答
更多在spring xml配置中连接字符串(Concatenate string in spring xml configuration)
XML字符串到XML文档(XML string to XML document)
如何将字符串转换为xml(How to convert string to xml)
从XML文件中获取部分连接字符串(Taking part of connection string from XML file)
如何从hibernate.cfg.xml文件获取连接字符串值?(How to get the connection string value from hibernate.cfg.xml file?)
XML中真的需要连接字符串吗?(Connection string really needed in XML?)
从XML文件读取连接字符串(Read a connection string from a XML file)
如何保护我的连接字符串?(How to secure my connection string? powershell + xml)
如何在Java中连接后设置XML字符串?(How to set XML string after concat'ing in Java?)
需要XML路径(XML Path needed)
相关文章
更多PHP简介
php匹配问题
Solr PHP support
php solr 扩展
PHP中的替代语法
PHP和javascript,谁更容易调试??
PHP 页面多个Action 的处理
my php & mysql FAQ
solr安装以及php调用
php面试题一
最新问答
更多获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
如何通过引用返回对象?(How is returning an object by reference possible?)
矩阵如何存储在内存中?(How are matrices stored in memory?)
每个请求的Java新会话?(Java New Session For Each Request?)
css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
xcode语法颜色编码解释?(xcode syntax color coding explained?)
在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
Copyright ©2023 peixunduo.com All Rights Reserved.粤ICP备14003112号
本站部分内容来源于互联网,仅供学习和参考使用,请莫用于商业用途。如有侵犯你的版权,请联系我们(neng862121861#163.com),本站将尽快处理。谢谢合作!