Posted by forcescript on February 12, 2009
Keeping computers free of viruses and other malware is vital for all businesses, large and small. And no type of business is exempt from threats from cyberspace. Because of their line of work, software development companies may be more vigilant than other types of businesses, but they are no less vulnerable.
Posted by forcescript on November 14, 2008
This function for change some variable into other variable.
Example : we want to change phone number : 6281234123457 into 628123412XXXX
Example :
<?php
function hide($rp)
{
$hidee = “”;
$p = strlen($rp);
$hidee = “.” . substr($rp,-4) . $hidee;
$l = strlen($rp) – 4;
$rp = substr($rp,0,$l);
$p = strlen($rp);
$hidee = $rp . XXXX;
return $hidee;
}
$phone =”6281234123457″;
$phonehide = hide($phone);
echo”$phonehide”;
?>
Result fot this :
628123412XXXX
Hope you like this function