A little function for stripping images from HTML contained in a variable.
Download
View Source (print view)
Rating : 4.7
Views : 372
<?
function strip_img($variable)
{
return(eregi_replace("<img src=[^>]*>", "",
$variable));
}
// Usage (assuming $variable contains some HTML):
$variable = strip_img("$variable");
?>
fedex, call php', userstatusinonline, php_script"_class="neww"_target="_blank"_title="im_neuen, best ide, php script" class="neww" target="_b..., forum, p t test paired, guest, php_tools, href php function, utfraw, php jobs, php script and char(124) (select cast(count(1) as varchar(8000)) char(124) from [sysobjects] where 1=1)>0 and =, commit, gonzo_florin, yahoo status check, rss, mysql, php simple search, yahoo_status' and char(124) (select cast(count(1) as varchar(8000)) char(124) from [sysobjects] where 1=1)>0 and ''='