[PHP] strip_tags() problem

2002-04-04 Thread Ryan Govostes
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 ma

[PHP] web spider?

2002-04-15 Thread Ryan Govostes
i was wondering if it would be possible to make a web spider in PHP. they work by download a website, then following all the links on the website to other pages, and then following the links on that page... is this possible in PHP without a whole lot of work? i just want to keep a counter of h