Still i cant get any result can you help me?
我仍然无法得到任何结果你能帮帮我吗?
i want take screenshot in my webpage. well i used code below showed:
我想在我的网页上截取屏幕截图。好吧,我使用下面的代码显示:
<script>
window.ready = function () { alert("It's loaded!");
<?php
$img = imagegrabscreen();
imagepng($img, 'screenshot.png');
?> }
</script>
but it saved black image. what i do for it.?
但它保存了黑色图像。我为它做了什么。
i got code from as link below:
我从以下链接获得代码:
click this link:
点击此链接:
http://www.codedevelopr.com/articles/image-screenshots-php/
finally help me that code as PHP
or script
to take screenshot and save that image.
最后帮我把代码作为PHP或脚本来截取并保存该图像。
if anyone show a way of answer for this problem.
如果有人为这个问题找到答案的方法。
thanks in advance
提前致谢
1 个解决方案
#1
According to this * post, the fucntion will only work for XP and lower.
根据这个*帖子,该功能仅适用于XP及更低版本。
Please check your system preferences and maybe your logs for additional information.
请检查您的系统首选项以及您的日志以获取更多信息。
#1
According to this * post, the fucntion will only work for XP and lower.
根据这个*帖子,该功能仅适用于XP及更低版本。
Please check your system preferences and maybe your logs for additional information.
请检查您的系统首选项以及您的日志以获取更多信息。