2010-11-06, 23:14:56
PHP never works with URLs the way browsers and HTML do. So it can’t retreive these either. This is because PHP does not know what domain is used to access something, all it can tell you is the address used by the browser when it requested the current file.
You will always have to reverse-engineer the file location. In GetSimple we have the $SITEURL variable to solve this problem. Other CMS systems have probably created different solutions.
I believe plugins shouldn’t include any captcha. Instead they should offer plugin hooks so other people can create captcha plugins. This way, people can easily get any captcha they want and all plugins using captchas get the same one.
You will always have to reverse-engineer the file location. In GetSimple we have the $SITEURL variable to solve this problem. Other CMS systems have probably created different solutions.
p01 Wrote:In your opinion, do I keep the securimage© advanced captcha? A mathematical captcha or the fieldcaptcha implemented, are/will be sufficient?
I believe plugins shouldn’t include any captcha. Instead they should offer plugin hooks so other people can create captcha plugins. This way, people can easily get any captcha they want and all plugins using captchas get the same one.
“Don’t forget the important ˚ (not °) on the a,†says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!