XOOPS 2.5.6
Final
|
Go to the source code of this file.
Functions | |
PasswordStrength ($password) | |
RedirectToCachedFile () | |
if(phpversion()< '4.1.0') | SendSaveAsFileHeaderIfNeeded () |
Variables | |
if(!empty($PHPTHUMB_DEFAULTS)&&is_array($PHPTHUMB_DEFAULTS)) | $allowedGETparameters = array('src', 'new', 'w', 'h', 'wp', 'hp', 'wl', 'hl', 'ws', 'hs', 'f', 'q', 'sx', 'sy', 'sw', 'sh', 'zc', 'bc', 'bg', 'bgt', 'fltr', 'xto', 'ra', 'ar', 'aoe', 'far', 'iar', 'maxb', 'down', 'phpThumbDebug', 'hash', 'md5s', 'sfn', 'dpi', 'sia', 'nocache') |
if(isset($_GET['phpThumbDebug'])&&($_GET['phpThumbDebug']== '3')) | $CanPassThroughDirectly = true |
if(isset($_GET['phpThumbDebug'])&&($_GET['phpThumbDebug']== '1')) | $parsed_url_referer = phpthumb_functions::ParseURLbetter(@$_SERVER['HTTP_REFERER']) |
if($phpThumb-> config_nooffsitelink_require_refer &&!in_array(@$parsed_url_referer['host'], $phpThumb-> config_nohotlink_valid_domains)) | $parsed_url_src = phpthumb_functions::ParseURLbetter(@$_GET['src']) |
$phpThumb = new phpThumb() | |
if(isset($_GET['phpThumbDebug'])&&($_GET['phpThumbDebug']== '2')) | $PHPTHUMB_DEFAULTS_DISABLEGETPARAMS = (bool) (@$PHPTHUMB_CONFIG['cache_default_only_suffix'] && (strpos($PHPTHUMB_CONFIG['cache_default_only_suffix'], '*') !== false)) |
if(ini_get('magic_quotes_runtime')) | $starttime = array_sum(explode(' ', microtime())) |
if(!phpthumb_functions::FunctionIsDisabled('set_time_limit')) if(file_exists(dirname(__FILE__).'/phpThumb.config.php')) elseif(file_exists(dirname(__FILE__).'/phpThumb.config.php.default')) | else |
PasswordStrength | ( | $password | ) |
Definition at line 39 of file phpThumb.php.
References $password.
RedirectToCachedFile | ( | ) |
Definition at line 48 of file phpThumb.php.
References $_SERVER, $phpThumb, $PHPTHUMB_CONFIG, DIRECTORY_SEPARATOR, exit, phpthumb_functions\ImageTypeToMIMEtype(), phpthumb_functions\ParseURLbetter(), and SendSaveAsFileHeaderIfNeeded().
if (phpversion()< '4.1.0') SendSaveAsFileHeaderIfNeeded | ( | ) |
Definition at line 26 of file phpThumb.php.
References $_GET, $phpThumb, and phpthumb_functions\SanitizeFilename().
Referenced by RedirectToCachedFile().
if (!empty($PHPTHUMB_DEFAULTS)&&is_array($PHPTHUMB_DEFAULTS)) $allowedGETparameters = array('src', 'new', 'w', 'h', 'wp', 'hp', 'wl', 'hl', 'ws', 'hs', 'f', 'q', 'sx', 'sy', 'sw', 'sh', 'zc', 'bc', 'bg', 'bgt', 'fltr', 'xto', 'ra', 'ar', 'aoe', 'far', 'iar', 'maxb', 'down', 'phpThumbDebug', 'hash', 'md5s', 'sfn', 'dpi', 'sia', 'nocache') |
Definition at line 322 of file phpThumb.php.
Definition at line 356 of file phpThumb.php.
if (isset($_GET['phpThumbDebug'])&&($_GET['phpThumbDebug']== '1')) $parsed_url_referer = phpthumb_functions::ParseURLbetter(@$_SERVER['HTTP_REFERER']) |
Definition at line 262 of file phpThumb.php.
if ($phpThumb->config_nooffsitelink_require_refer &&!in_array(@$parsed_url_referer['host'], $phpThumb->config_nohotlink_valid_domains)) $parsed_url_src = phpthumb_functions::ParseURLbetter(@$_GET['src']) |
Definition at line 266 of file phpThumb.php.
$phpThumb = new phpThumb() |
Definition at line 116 of file phpThumb.php.
Referenced by RedirectToCachedFile(), and SendSaveAsFileHeaderIfNeeded().
if (isset($_GET['phpThumbDebug'])&&($_GET['phpThumbDebug']== '2')) $PHPTHUMB_DEFAULTS_DISABLEGETPARAMS = (bool) (@$PHPTHUMB_CONFIG['cache_default_only_suffix'] && (strpos($PHPTHUMB_CONFIG['cache_default_only_suffix'], '*') !== false)) |
Definition at line 309 of file phpThumb.php.
if (ini_get('magic_quotes_runtime')) $starttime = array_sum(explode(' ', microtime())) |
Definition at line 18 of file phpThumb.php.
Referenced by phpthumb_bmp\PlotBMP().
if (is_writable(dirname($phpThumb->cache_filename))||(file_exists($phpThumb->cache_filename)&&is_writable($phpThumb->cache_filename))) else |
Definition at line 140 of file phpThumb.php.