Jump to content

Image file name with %20


scvinodkumar

Recommended Posts

Hi Friends, I have uploaded a image with the file name (pics%20of-cute-girls.jpg). Its uploaded and displaying in the local system but not in the server. Could you please tell me what should be the reason for this? what setting does i need to change? For your reference i have attached that file

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/214508-image-file-name-with-20/
Share on other sites

You should get into the habbit of renaming files when they are uploaded through a web form. A good option is to use an md5 hash on a filename so it becomes unique. This is done at the point of upload and then the filename can be saved to your database.

 

Yeah i can do like that, but its working in local system even with the same file name.

This is irrelevant.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.