file upload problem in IE |
[eluser]quest13[/eluser]
When I tried to upload the image in IE , the following code is not recognising JPG format in IE. But the same is working in Firefox. Any body can help me on this ? Code: if ((($_FILES["uploadedfile"]["type"] == "image/gif") thanks
[eluser]pistolPete[/eluser]
Why don't you use the file upload library? http://ellislab.com/codeigniter/user-gui...ading.html What type do you get when you upload using IE? var_dump() the $_FILES array.
[eluser]quest13[/eluser]
Thanks for the reply. I will try out with upload library however, I got this when I did var_dump string(11) "image/pjpeg" for Code: (if (($_FILES["uploadedfile"]["type"] == "image/jpg") what does it mean ?
|
Welcome Guest, Not a member yet? Register Sign In |