View Single Post
Old 10-11-2003, 10:26 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. It seems that strip_tags in PHP 4.3.2 has been reworked, making it so that it doesn't eliminate as much as before. The following will remove everything between the < and > symbols.

In robot_functions.php, replace:
PHP Code:
//replace any group of blank characters by an unique space
$text ereg_replace("[[:blank:]]+"," ",strip_tags($text)); 
with the following:
PHP Code:
//replace any group of blank characters by an unique space
$text ereg_replace("[[:blank:]]+"," ",eregi_replace("<[^>]*>","",$text)); 
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote