// This top part, the function, goes high in your PHP script
// or in your global.inc functions file if you include one on every page.
return(eregi_replace("<img src=[^>]*>", "", $variable));
// Usage: Insert this line in any php file where you want images
// stripped. Remember that there must be HTML already contained
// in the $variable from which you're stripping.
$variable = strip_img("$variable");
Comments or questions?
PX is running PHP 5.2.17
Thanks to Miranda Productions for hosting and bandwidth.
Use of any code from PX is at your own risk.