need help on the png check on this script

Discussion in 'Programming' started by schlogo, May 6, 2008.

  1. #1
    Hello

    I need some help, The script attached is a part of a joomla component, it takes images and upload them, nothing to complicated. it works with gif and jpg but I can't upload any png file. As I need a quick fix, I d like to remove the check on the files extension and the mime types (this script is on an admin side of a site, there s almost o no security threat).

    I ve tried many things but it kills the components. Would someone be able to remove those files check correctly ?

    Tks
     

    Attached Files:

    schlogo, May 6, 2008 IP
  2. schlogo

    schlogo Well-Known Member

    Messages:
    1,615
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    140
    #2
    noone can help?
     
    schlogo, May 8, 2008 IP