server-side browser via php?
Posted: Mon May 24, 2010 11:24 pm
I have an unusual problem that has to do with the fact that I program in xforms and xhtml and need to run an xforms engine via firefox. Without getting into the details of why, let me ask you all about a browser processing approach.
Would it be possible to set up firefox on a server and somehow process my web pages with firefox via php.
I was thinking something like this.
1. User requests my page ( page2.php)
2. page2.php gets the associated xthml page on the server, say page2.xhtml
3. php runs page2.xthml through firefox engine and creates the rendered version
4. php sends rendered version back to the client browser
or something like that.
Would it be possible to set up firefox on a server and somehow process my web pages with firefox via php.
I was thinking something like this.
1. User requests my page ( page2.php)
2. page2.php gets the associated xthml page on the server, say page2.xhtml
3. php runs page2.xthml through firefox engine and creates the rendered version
4. php sends rendered version back to the client browser
or something like that.