View Single Post
Old 10-23-2008, 10:40 AM   #1
artoros
Junior Member
artoros began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: none
Calibre Command Line usage with PHP

Hello!!
I am trying to convert HTML files to LRF, EPUB or other formats using calibre's "html2lrf" and "html2epub" functions.
Everything works absolutely fine when I use the normal windows command line interface.

But when I use the exact same command with PHP and "shell_exec" or "exec" absolutely nothing happens. No error message, but no output either.

The funny thing is - until now I used "CalibreForLRF" for that, and for some reason, that EXE file with that installation works fine. But I can only do LRF files with that one, of course.

Has anyone else experienced such problems and has a solution for this? Or is there a thread about that problem already?
Many thanks in advance!
Artoros
artoros is offline   Reply With Quote