I have created many picture files using gd_library, I recently decided to rename all of my pictures files on my web server to text instead of just numbers.
Example: productsssh.jpg
I am recently receiving a wierd error when I open up some of the picture files. Here is the name of the picture: productsssh.jpg.
I get the following error only when i open up that picture via the web:
Warning: Unexpected character in input: '' (ASCII=24) state=1 in /home/virtual/site1/fst/var/www/html/pics/productsssh.jpg on line 15
Warning: Unexpected character in input: ' in /home/virtual/site1/fst/var/www/html/pics/productsssh.jpg on line 15
Parse error: syntax error, unexpected T_STRING in /home/virtual/site1/fst/var/www/html/pics/productsssh.jpg on line 15
When i rename the file to "producsssh.jpg" it opens up perfectly fine.
I don't know why i am getting an apache or php error when attempting to open the file. Second, I don't know why i am getting the error only when i try to view the file over the web via my server. If I actually download the file I can perfectly open it via my computer.
My webserver is a linux box redhat.
All I am doing is opening up a picture file via the web... why am i receinving a php or apache error.... where is the error coming from?
Any help regarding this matter would be greatly appriciated.