sillysillysilly Posted September 21, 2009 Share Posted September 21, 2009 I have a script I am running that I want it to grab a screen shot when the user presses a button to do so. when I operate the function I get a black screen. I googled it and followed the instructions to get Apache to allow it to interact with the desktop; but it is still black. Ironically I had this feature running on my laptop with Apache and had no problems. Any other ideas what I might have set wrong? Link to comment https://forums.phpfreaks.com/topic/174956-imagegrabscreen-question/ Share on other sites More sharing options...
sillysillysilly Posted September 21, 2009 Author Share Posted September 21, 2009 Update. I turned off apache as a service so it has to be started manually and I can get it to take screenshots. Not sure why it running as a service causes this problem. I am using apache 2.2 with windows 7. When installed as a service apache has permission to interact with the desktop. Link to comment https://forums.phpfreaks.com/topic/174956-imagegrabscreen-question/#findComment-922316 Share on other sites More sharing options...
MadTechie Posted September 21, 2009 Share Posted September 21, 2009 I assume this is solved ? if not then change the apache service to interacte with desktop is services.msc Link to comment https://forums.phpfreaks.com/topic/174956-imagegrabscreen-question/#findComment-922332 Share on other sites More sharing options...
sillysillysilly Posted September 21, 2009 Author Share Posted September 21, 2009 Actually not solved yet. I have set it to run as a service and giving it permission to interact with the desktop in services. when I do this i get a blank screen. When I turn it off as a service the function works ok. Link to comment https://forums.phpfreaks.com/topic/174956-imagegrabscreen-question/#findComment-922334 Share on other sites More sharing options...
MadTechie Posted September 21, 2009 Share Posted September 21, 2009 Humm, try using an an account, instead of local system, i have a feeling your using Vista, if so try turning off UMA Link to comment https://forums.phpfreaks.com/topic/174956-imagegrabscreen-question/#findComment-922343 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.