| Current Path : /home/sunflowe/www2/j15/components/com_easycaptcha/captchas/Dpaulus-Captcha/ |
| Current File : /home/sunflowe/www2/j15/components/com_easycaptcha/captchas/Dpaulus-Captcha/validate.php |
<?php
/**
* EasyCaptcha
* @version $Id: validate.php 545 2008-02-15 15:16:12Z snipersister $
* @package EasyCaptcha
* @license Released under the terms of the GNU General Public License (see LICENSE.php in the Joomla! root directory)
* @author EasyJoomla.org - Project
**/
defined('_JEXEC') or die('Restricted access');
function getCode($captcha_id)
{
$db =& JFactory::getDBO();
$db->setQuery("SELECT CodeMD5 FROM #__easycaptchas_dpaulus WHERE CodeID = '".$captcha_id."'");
return $db->loadResult();
}
?>