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.
A:
You can get content with cURL and then use Regular Expressions to extract exactly what you need
Im0rtality
2010-08-04 12:58:12
Thnx ImOrtality got that
2010-08-04 13:01:07
+2
A:
weird
use an RSS feed instead of that nonsense with HTML parsing.
Col. Shrapnel
2010-08-04 13:08:13
A:
Or use SOAP or any other WS implementation to centralize your content management system
Benoit
2010-08-04 13:42:46
A:
I second the RegExp approach, and another solution could be the Dom parser: http://php.net/manual/en/class.domdocument.php
Purefan
2010-08-04 13:53:40