ckennerdale
Programmer
I am uploading graphics from my hardrive to an online folder via a form on an html page.
The file is being renamed in a temp folder with names such as "phpLMRO98 " and copied to my server. This is no problem-so far so good.
The file is not being named with an extension such as .gif or .jpg- regardless of the file I upload.
However if I try to view the graphic- referencing the new name without the extension- the graphic still displays.
Are their any known issues here. Personally I dont care- it it diaplys all well and good. But will I reun into trouble with browsers that require the extention to be thier.
If so how can I detect the file type and add the appropriate extension- would I use eregi?
Caspar Kennerdale
Senior Media Developer
The file is being renamed in a temp folder with names such as "phpLMRO98 " and copied to my server. This is no problem-so far so good.
The file is not being named with an extension such as .gif or .jpg- regardless of the file I upload.
However if I try to view the graphic- referencing the new name without the extension- the graphic still displays.
Are their any known issues here. Personally I dont care- it it diaplys all well and good. But will I reun into trouble with browsers that require the extention to be thier.
If so how can I detect the file type and add the appropriate extension- would I use eregi?
Caspar Kennerdale
Senior Media Developer