I am "playing" with an idea, but it might use curl which I am not too sure about, but can fathom my way round most. I can curl a page and get the contents - that's OK, but can you curl a page and get "specific" contents say a variable string or array? Reason for asking is I do a lot of updating to a few sites but most of that is "common" and it now makes sence to only do the updates once and then have the sites curl them.
4 Answers
I second the RegExp approach, and another solution could be the Dom parser: http://php.net/manual/en/class.domdocument.php