This is not the list you should be asking this kind of questions on. This list is about developing PHP itself, not about developing WITH PHP.
By the way, you don't want to use readfile() here. implode("", file()) seems like the easiest solution, in combination with preg_match, probably, for the problem you are describing. Regards, Manuzhai "Miva Guy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm in the process of rewriting a site in PHP (as I learn it) to make it > more robust. One of the functions I regularly use is calling an external > URL, parsing out the data I need and saving that data for use on my site. > (Don't worry, we've made arrangements with these companies!) > > I'm unsure which function, include(), readfile() or any other to use where I > can go through the called page and parse out what I need. > > Example, let's say I needed to get the page's title, I would need to be able > to go through the file and find an tag object, discover the tag is a <TITLE> > tag, start gathering the text object until I reach a tag object of </TITLE>. > > If there are any tutorials on the subject, can someone point me in the right > direction? > > Thanks! > Mark > [EMAIL PROTECTED] > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php