Forum Moderators: coopster

Message Too Old, No Replies

reading a webpage in php

         

villan

5:41 pm on Jun 17, 2004 (gmt 0)

10+ Year Member



im trying to use php to read a webpage, strip off everything but whats inside the body tags, and then output that onto a new page. how can i do this? thanks

WhosAWhata

8:04 pm on Jun 17, 2004 (gmt 0)

10+ Year Member



check out the Preg_Match [php.net] function

coopster

2:27 am on Jun 20, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, villan!

Maybe this thread [webmasterworld.com] will give you a few ideas/direction. It's not quite what you are asking, but should give you some concepts you may be able to employ. Once you get something started, if you have troubles, please post your best attempt and we'll work with you from there!