Names of Images Saved in PHP Server Root Are Case Sensitive

I used some images in my PHP scripts. I typed the perfect names of images (eg chair.jpg) in my PHP script. Though in my web root directory, the images are stored by the same name, in output, I didn’t find the images.

Later I found that, the image was named like “checked.PNG” in my web root. But in my program, it was “checked.png”.
For having lower case in my code [png] but main image was in upper case [PNG], I didn’t find the image in output screen after loading.

This scenario doesn’t happen always. It varies! I found output the other time though the extension was different [one was in upper case and the other in lower case]

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s