Is it possible to make a PHP script which would browse another sites, and either grab data from an output page, or directly from an unknown database with unknown fields ?
What I'm looking to do is have a script which will automatically visit this page and will access the fields (W-L-T-OTL) and enter them into my mySQL database to be displayed on my site. Basically it would save me the time of making a team editing portion of my site.
Here would be the pseudo code:
///// Open site
open_page("http://www.somesite.com/index.php");
///// Grab specific data
$variable=read_variable("some_var_name");
///// Enter into my database
enter_into_db($variable);
I can do the entering the variable into my database easy, but can the other 2 parts be done successfully ?
I was looking at using iOpus Internet Macros, but it runs for VBScript, and I want to do this in PHP.
Thanks in advance for any help.