no php print mime_content_type() function?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SCSI_0
    Junior Member
    • Sep 2004
    • 4

    #1

    no php print mime_content_type() function?

    I have read that the function mime_content_type() is available in php 4.4.0 and upward, however I cannot use this function in a php script (error: Fatal error: Call to undefined function: mime_content_type() in [scriptname] on line 1)

    Do we use a php version not compiled with this option, or am i just missing something...?
  • sdjl
    Senior Member
    • Mar 2004
    • 502

    #2
    It says it's available in PHP version greater than or equal to, 4.3.0.
    I guess it depends on which version of PHP the server that you're on is running.

    David
    -----
    Do you fear the obsolescence of the metanarrative apparatus of legitimation?

    Comment

    • Buddha
      Senior Member
      • Mar 2004
      • 825

      #3
      Do we use a php version not compiled with this option, or am i just missing something...?
      Don't see it on my server. The extension has been deprecated in favor of fileinfo extension. Might put in a request for that fileinfo extense for the next upgrade?
      "Whatcha mean I shouldn't be rude to my clients?! If you want polite then there will be a substantial fee increase." - Buddha

      Comment

      Working...