I have downloaded phantomjs library and created a test.js file inside bin folder and wrote some code and execute it using command prompt it works great so far so good But I am required to call this test.js file from a php file The problem is including test.js file like below is not enough
<script src="phantom/bin/test.js"></script>
Because it doesnt works without phantomjs.exe
I dont know how to incude or execute phantomjs.exe I mean how to use test.js and phantomjs.exe together