english/components/com_aicontactsafe/views/message/view.html.php
// function to generate a random string
function to generate a random string
function to generate a random string
function random_string($max = 20){
		$chars = 'ABCDEFGHIJKLMNOPQRSTUVWXWZabcdefghijklmnopqrstuvwxwz0123456789';
		for($i = 0; $i < $max; $i++){
			$rand_key = mt_rand(0, strlen($chars));
			$string  .= substr($chars, $rand_key, 1);
		}
		return str_shuffle($string);
	}
function random_string ( $ max = 20 ) { $ chars = 'ABCDEFGHIJKLMNOPQRSTUVWXWZabcdefghijklmnopqrstuvwxwz0123456789' ; for ( $ i = 0 ; $ i < $ max ; $ i ++ ) { $ rand_key = mt_rand ( 0 , strlen ( $ chars ) ) ; $ string .= substr ( $ chars , $ rand_key , 1 ) ; } return str_shuffle ( $ string ) ; }
function to generate a random string
function to generate a random string