I\'m adding to a PHProxy script to GET a certain page and fills in required forms with cURL and some R.E. This page is usually submitted with a button. I\'m not posting directl
Solved it myself, sort of.
You can embed a javascript interpreter into your code like PECL's SpiderMonkey. However, in order to click a button you would need to recreate a DOM from a section of HTML/CSS/Javascript code like a browser does in order to click on of its buttons, and currently there aren't and modules that I can find that do this.
Referenced Does PHP's HTTP class support javascript?