10$ quick fix on this php script

Discussion in 'Programming' started by schlogo, May 12, 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 12, 2008 IP
  2. Joomla Dude

    Joomla Dude Banned

    Messages:
    592
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    Ok so you just need to make that component be able to upload PNG files.
    Am i right??
    Shoot e a PM with Joomla admin panel and FTP login.
    I will solve that for you..
    Thanks...
     
    Joomla Dude, May 12, 2008 IP
  3. me4you

    me4you Well-Known Member

    Messages:
    1,989
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    If Joomla! Dude can't then hire me ;)

    Thanking You.
     
    me4you, May 12, 2008 IP