C++ is gd for speed.
PHP, on the other hand, is good for its libaries and API,
basically ease-of-use.
For crawling... if you are leaving it to run, you have to look
out for keywords in the HTML source. However, if the webpage is
AJAX-based or the programmer is a f*cker like me who uses
document.write in a loopy way, you are going to have a harder time
crawling the page.
I'm not sure if I should call this "crawling", but I need my
program to be able to detect certain elements on an already-loaded
web page and perform certain actions on those elements.
E.g. search for a web form text field and type in certain text
within the field.
E.g. search for a web form submit button and click it.
E.g. search for a hyperlink and open it in a new window.
Should C++ still be the way to go? It doesn't sound like
scripting languages can do these tasks, though I might be
wrong.