?
Solved

Fatal error: Call to undefined function imagegrabwindow()

Posted on 2009-04-17
2
Medium Priority
?
2,441 Views
Last Modified: 2013-12-13
I am tryiong to work with imagegrabscreen() in php(in Windows).Uncomment php_gd2.dll in php.ini and check "Interact with the desktop" in services but it shows an error like
Fatal error: Call to undefined function imagegrabwindow() .
Please help

Thanks
$im = imagegrabscreen();
 imagepng($im,"myscreenshot.png");

Open in new window

0
Comment
Question by:logicslab
2 Comments
 
LVL 39

Accepted Solution

by:
Roger Baklund earned 1500 total points
ID: 24166769
Which PHP version are you using? These functions are only available with PHP 5.2.2 and later.

http://php.net/manual/en/function.imagegrabscreen.php
0
 

Author Closing Comment

by:logicslab
ID: 31571411
thank you
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
This article discusses how to implement server side field validation and display customized error messages to the client.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Suggested Courses
Course of the Month15 days, 20 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question