Re: [PHP] grabbing data from a site

2002-11-23 Thread Tom Culpepper
Try this function, Ijust wrote it for the same purpose. You just need a unique string in front of the stuff you want, and one after it. You can usually get a string of code on either end that will do this. The function will open the URL, find the anchor strings you told it, then strip them

Re: [PHP] grabbing data from a site

2002-11-22 Thread Adam
someone gave me the following expression which uses another program and it works fine for them... is there something similar with php? wget --timeout=90 -q -O- http://www.BoM.GOV.AU/products/IDO30V01.shtml | sed '1,/>Melbourne //;s/<.*//' thanks, adam. "Evan Nemerson" <[EMAIL PROTECTED]> wrote i

Re: [PHP] grabbing data from a site

2002-11-22 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If the target is in well-formed XML (XHTML is an example), you could use XSLT to say 'i want the third column of a particular row - in this instance, Melbourne'. However, since few people actually adhere to standards, you're probably going to need a