Welcome Guest, Not a member yet? Register   Sign In
Image Uploads
#3

[eluser]Evil Wizard[/eluser]
I think the $file variable contains the name of the input for the $_FILES

You need to ensure that both pdf and the image types are in the allowed_types, and there used to be a bug that hindered non image uploads if the allowed_types contained image types, but I think that bug has been cleared up now


Messages In This Thread
Image Uploads - by El Forum - 07-06-2009, 07:45 AM
Image Uploads - by El Forum - 07-06-2009, 07:59 AM
Image Uploads - by El Forum - 07-06-2009, 08:05 AM
Image Uploads - by El Forum - 07-06-2009, 08:09 AM
Image Uploads - by El Forum - 07-06-2009, 08:14 AM
Image Uploads - by El Forum - 07-06-2009, 08:18 AM
Image Uploads - by El Forum - 07-06-2009, 08:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB