Hello my name is Shantam and i need some help
[php]function Smiley($texttoreplace)
{
$smilies=array(
‘Php’=>“xyz”,
‘PHp’=>“xyz”,
‘PhP’=>“xyz”,
‘PHP’=>“xyz”,
‘php’=>“xyz”,
‘pHP’=>“xyz”,
‘phP’=>“xyz”,
‘pHp’=>“xyz”,
);
$texttoreplace=str_replace(array_keys($smilies), array_values($smilies), $texttoreplace);
return $texttoreplace;
}[/php]
I use this code to rename “php” in filename to prevent shells but i think it would take a lot of time if i do it for html,asp,wml
isnt there any way to rename the words without writing each and every uppercase and lowercase letters
i just mean that i need a short code :’(