Fatal error: Call to undefined function imagegrabwindow()

Posted on 2009-04-17
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

$im = imagegrabscreen();


Open in new window

Question by:logicslab
    LVL 39

    Accepted Solution

    Which PHP version are you using? These functions are only available with PHP 5.2.2 and later.

    Author Closing Comment

    thank you

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
    Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
    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…
    The viewer will learn how to dynamically set the form action using jQuery.

    745 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now