RE: [PHP] strip_tags() problem

From: Date: Thu, 04 Apr 2002 20:56:55 +0000
Subject: RE: [PHP] strip_tags() problem
Groups: php.general 
Request: Send a blank email to php-general+get-91595@lists.php.net to get a copy of this message
you need to open and process yahoo with file statements, not include please read the PHP manual... -----Original Message----- From: Ryan Govostes [mailto:panic@twcny.rr.com] Sent: Thursday, April 04, 2002 2:44 PM To: PHP People Subject: [PHP] strip_tags() problem The following simple code does not function: $html = include("http://www.yahoo.com"); $text = strip_tags($html); echo $text; I've tried several variations of the above, such as using preg_replace() instead of strip_tags() and readfile() instead of include(), but it does not work at all, no matter what. Does anyone know why? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#91595) next »