I have a php file that can generate html or js files that would draw a graph in the browser.
But since this files have to be created by php on server side, I cannot have browser involved. What I want to do, is to be able to emulate the browser and create an image from those files directly from php, in order to email them to the appropriate department.
I think this can be done in the following steps:
- Some executable program that can be run from Command Promt with an argument being my file
- PHP could send commands to Command Promt telling it to run "the created file" with that program which would generate the image.
- Then I would email that image
Example of usability
Lets say you are running extjs web application in your browser, right? There is no user interaction, it might stay running for days. Now without doing anything you want to send an image of your CPU performance graph to your testing department.
Does anyone know the best way of doing this? Thanks