hey guys
got a small problem building a image upload script and im doing the validation
basically got problems with mime types
image/png works
image/gif works
but when i upload a jpg and echo $_FILES['img']['type'] i get nothing, ive copied the example from php to see if it was my dogey coding but its not
its really doing my head in
anyone know why php doesnt pickup image/jpg from the mime type
im using php 4.3.something with apache 1
thanks
got a small problem building a image upload script and im doing the validation
basically got problems with mime types
image/png works
image/gif works
but when i upload a jpg and echo $_FILES['img']['type'] i get nothing, ive copied the example from php to see if it was my dogey coding but its not
its really doing my head in
anyone know why php doesnt pickup image/jpg from the mime type
im using php 4.3.something with apache 1
thanks



















