dave
dave

Reputation: 15489

GIF files are not uploading in php script

I'm trying to upload GIF files to my website, but for some reason its not uploading...by default does php allow it or we have to modify .ini file?

Basically in the console of inspect element in chrome its saying file not found error 404... but when uploading the GIF, I get no upload related errors.

here is a snippet of the form tag:

<form id="add_element_form" method="post" enctype="multipart/form-data">

All other image types jpg,png,jpeg get uploaded just fine, just not GIF files..

Upvotes: 1

Views: 821

Answers (1)

Pooja Bhagat
Pooja Bhagat

Reputation: 91

Check your php.ini file and phpinfo() what will return and if they are equal then Check wheather you have more than one php.ini file.

Upvotes: 2

Related Questions