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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
13 - 5 = ?
Subscribe to this entry?

 
 [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: Sat Jun 01 17:01:31 2024 UTC