开发者

khtml2png php no output

开发者 https://www.devze.com 2022-12-18 08:58 出处:网络
I have installed khtml2png and run it via command line and it works great but when I run it from php in the browser it does n开发者_JAVA技巧ot. I guess its the a permission issue but not sure? I am no

I have installed khtml2png and run it via command line and it works great but when I run it from php in the browser it does n开发者_JAVA技巧ot. I guess its the a permission issue but not sure? I am not getting any errors.


From the FAQ...

Why can't I run khtml2png without an X session?

khtml2png uses the khtml library as it is used in the KDE webbrowser Konqueror. The library needs an X session to display the rendered webpage. There is no way (without hacking the whole khtml library) to redirect the rendered webpage to a file.

and

How to comile khtml2png with debug information?

gcc -O0 -g -ggdb -lqt-mt -lkdecore -lkhtml -I /usr/include/qt3/ -I /usr/include/kde/ khtml2png.cpp -o /tmp/khtml2png
0

精彩评论

暂无评论...
验证码 换一张
取 消