1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Uploading Of Php error file type

Discussion in 'PHP' started by baddot, Apr 4, 2007.

  1. sea otter

    sea otter Peon

    Messages:
    250
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #21
    I just uploaded a jpg to your site and it seemed to work fine. Is it wmv that's not working? I tested the earlier code I posted and it worked for me for mpg, wmv, etc. ...maybe a filesize limit issue?

    I'll try and find a small SFW wmv to test upload to your site. Everything I have is large and...um...racy, shall we say.

    as for x-empty, if that's a genuine mime type that can be detected, then just add it to the $allowed array. In fact you can add any mime type there, including (I recommend) png.
     
    sea otter, Apr 9, 2007 IP
  2. sea otter

    sea otter Peon

    Messages:
    250
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #22
    ok, I found a small family-friendly wmv, but now your site is printing out php parse errors and not even displaying the upload page.

    I'll try again later.
     
    sea otter, Apr 10, 2007 IP
  3. baddot

    baddot Active Member

    Messages:
    309
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    58
    #23
    hmmm its done thanks guys =) if anyone wants that script msg me
     
    baddot, Apr 12, 2007 IP
  4. sea otter

    sea otter Peon

    Messages:
    250
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #24
    Ah good job! Nice to see it worked out.
     
    sea otter, Apr 12, 2007 IP