
securityimages 4.0.0 and opencomment

![]() | I am back online…my notebook crashed last week and was promptly replaced by Hewlett Packard and the new hard disk died one day after being renewed…and as usual, a lot of backup (powerquest v2i protector), but I was not able to restore them, as it seems that my disk was silently dying since weeks , and "check backup afterward for consistency" is not checked as default. I work yesterday 3 hours on securityimages, and test it with a new secure PHP4 installation. OpenComment is also currently tested, I am removing uneeded functionnality (not fully developed or tested), as soon as it work, I will deploy it to http://demo.waltercedric.com. I hope to be able to use it here on my homepage before end of next week…So all Beta tester are welcome (Colin :-)) Click read more to see what has changed in securityimages 4.0.0 |
Securityimages 4.0.0 release "enhanced Security "
This version is now running with:
- PHP.ini safe mode OFF
- Joomla RG Global Emulation O
- PHP.ini register global = Off
I’ will also in the future only develop with that PHP settings, so that will mean more securities for all users and host running my code.
Bugs solved:
artf4021: php safe mode & com_securityimages
artf1411: Save setting button changes if config.securiyimages.php is not writable
artf4989: register_globals Off patch
artf3206: com_contact
artf2777: No text displayed in security Image
API changes
Will work only with new release of akcomment, akobook, etc…
securityimages < 4.0.0 | |
in PHP <form> | <?php include ($mosConfig_absolute_path.’/administrator/components/com_securityimages/client.php’); ?> The code above insert the image, and the text, You page normally submit information to the server for processing. Most of the time, the last 2 lines are inserted in a <form> |
in PHP code checking the <form> | include ($mosConfig_absolute_path.’/administrator/components/com_securityimages/server.php’); $checkSecurity = checkSecurityImage($security_refid, $security_try); if $checkSecurity = true //then the user has entered the right text. |
securityimages >= 4.0.0 | Introducing a captcha hidden field visibility name |
in PHP <form> | include($mosConfig_absolute_path.’/administrator/components/com_securityimages/client.php’); $packageName = ‘securityimage_newpass’; echo "<tr><td>".getSecurityImageTextHeader()." *</td><td>".insertSecurityImage($packageName)."<br/>".getSecurityImageTextHelp()."".getSecurityImageField($packageName)."</td></tr>"; |
in PHP code checking the <form> | $securityimage_newpass_refid = mosGetParam( $_POST, securityimage_newpass_refid’, ” ); $securityimage_newpass_try = mosGetParam( $_POST, securityimage_newpass_try’, ” ); $securityimage_newpass_reload = mosGetParam( $_POST, ‘securityimage_newpass_reload’, ” ); include_once ($mosConfig_absolute_path.’/administrator/components/com_securityimages/server.php’); $checkSecurity &= checkSecurityImage($securityimage_newpass_refid, $securityimage_newpass_try, $securityimage_newpass_reload); |
New!
HNCAPTCHA: now color background is fully configurable