Menu

Your e-mail in the source is bouncing, no MX!

Help
2006-05-08
2013-04-09
  • lee connell

    lee connell - 2006-05-08

    Hi,

    The code that was generated from phpgladetool seems to be using an older
    way for checking for modules.  See below which I got from the PHP-GTK2
    manual.

    ---------------------------------------------

    Example 1.2. Checking if PHP-GTK is available

    if (!class_exists('gtk')) {
        die("Please load the php-gtk2 module in your php.ini\r\n");
    }

    Here we make sure that PHP-GTK is available by checking if the class gtk
    exists. Unlike PHP 4 and PHP-GTK 1, you should not try to load the
    PHP-GTK module via dl(). This has been deprecated in PHP 5, and should
    not be used in newly written code. So all we can do is print out a
    message, that the module is not available and should be enabled by the
    user.

     
    • Andre de Castro Zorzo

      Hi lee_connell, the 0.3 release fix that deprecated call.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.