php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6182 imagetypes() function unsupported or undefined
Submitted: 2000-08-15 16:54 UTC Modified: 2000-08-15 18:16 UTC
From: andrew dot swh at candw dot ky Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.16 OS: linux (mandrake 7.1)
Private report: No CVE-ID: None
 [2000-08-15 16:54 UTC] andrew dot swh at candw dot ky
When tyying to use the imagetypes function is get 
"Fatal error: Call to unsupported or undefined function imagetypes() in theme.php3 on line 35"

Short sample follows clipped straight from your example

    if (ImageTypes() & IMG_PNG) {
        echo "PNG Support is enabled";                      
    }   

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-15 18:16 UTC] hholzgra@php.net
this function is available in latest php4 cvs only

http://www.zugeschaut-und-mitgebaut.de/php/function.imagetypes.html
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 17:01:37 2024 UTC