HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PvdBoogaard/indoorski.nl/backup/oude-site/cms/includes/pages/captchaimg.php
<?php

/**
 * This file contains the iwp_page_captchaimg class
 *
 * @version $Id$
 * 
 *
 * @package IWP
 * @subpackage IWP_FrontEnd
 */

/**
 * IWP Frontend Captcha Image CLass
 * This class extends the iwp_engine abstract class.
 * This class displays the captcha image.
 *
 * @package IWP
 * @subpackage IWP_FrontEnd
 */

class iwp_page_captchaimg extends iwp_engine {

	/**
	 * Calls the parent constructor
	 *
	 * @return void Doesn't return anything
	 */

	public function __construct(){
		parent::__construct();
	}

	/**
	 * This function tells the controller to loads the view content page.
	 * It checks to make sure the ID number is valid and loads the content data from the database and sets up the database variables with the data.
	 *
	 * @return void Doesn't return anything
	 */
	public function ShowPage(){
		$captcha = new captcha();
		if ($sessionKey = iwp_validation::FilterAlphaNumeric(@$_GET['for'])) {
			$captcha->sessionKey = $sessionKey;
		}
		$captcha->OutputImage();
		die();
	}
}