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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Tue May 21 04:01:35 2024 UTC