Jump to content

checking arrays casesensitive


scheols

Recommended Posts

meh i wont do non of them -_-

str_ireplace() works nicely

[quote][code=php:0]
<?
$s1 = array("http://invisionfree","invisonfree","invisionfree.com","http://invisionfree.com/","the","quick","brown", "fox", "jumped", "over", "the","lazy","dog");
$t[post] = str_ireplace($s1, "*BLEEP*", "$t[post]");
?>
[/code][/quote]

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.