KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/klengineers/klwebsite-controller/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/klengineers/klwebsite-controller/includes/random_variable.php
<?php
 function random_gen($length)
{
$strset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890';
  $random= "";
  srand((double)microtime()*1000000);
  // Add the special characters to $char_list if needed

  for($i = 0; $i < $length; $i++)
  {
    $random .= substr($strset,(rand()%(strlen($strset))), 1);
  }
  return $random;
} 
/////////////////////////////////////////////////////////
function check_jpg($ext){

if (($ext == "image/jpeg") ||($ext == "image/pjpeg") || ($ext == "image/jpg"))
 		{
		
		return true;
	
 		}
return false;
}
////////////////////////////////////////////////////////////////////
function check_gif($ext){

if (($ext == "image/gif") )
 		{
		
		return true;
	
 		}
return false;
}
//////////////////////////////////////////////////////////////
function check_flash_movie($ext)
{
if ($ext == "application/x-shockwave-flash") 
 		{
		
		return true;
	
 		}
return false;
}
////////////////////////////////////////////////////////
function check_flv($ext){

if (($ext == "flv"))
 		{
		return true;
 		}
return false;
}

?>

Anon7 - 2021