I need to write a script to mine data from a web site. I could do it in Perl, but now I'm stuck on an environment that only has PHP and I'm a newbie in PHP.
If anyone could point me to a tutorial or an example script for what I need, that would be great!
Here's what I need the script to do:
* open a web page and get a list of <option> values from a <select> control.
* loop through the options and submit the form for each
* find the list of links on the results page and follow each
* parse the target page and retrieve table structured information from a to be added to a database or spreadsheet.
Thanks,
_________
Rott Paws
...It's not a bug. It's an undocumented feature!!!
If anyone could point me to a tutorial or an example script for what I need, that would be great!
Here's what I need the script to do:
* open a web page and get a list of <option> values from a <select> control.
* loop through the options and submit the form for each
* find the list of links on the results page and follow each
* parse the target page and retrieve table structured information from a to be added to a database or spreadsheet.
Thanks,
_________
Rott Paws
...It's not a bug. It's an undocumented feature!!!