Jump to content

Image file name with %20


scvinodkumar
 Share

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
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.

Link to comment
Share on other sites

This thread is more than a year old.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • 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.