You cannot run PHP scripts in the calibre web server. You have to write your code in python, and create endpoints for it. Use the ZIP output format, not HTMLZ, IIRC the ZIP format as designed specifically for this. HTMLZ is designed for ease of editing.
|