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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: andrew dot swh at candw dot ky
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Fri Jul 03 04:00:02 2026 UTC