Hello, it is happens that I upload an image file through my website... and it works. However when I check in the File Manager, the image files is considered as normal file..this causing my img link can`t show them again... Anyone know how to fix it?
What do you mean by "normal file?" Also, check if the image has the extension (.bmp, .gif, .jpg, ect.)
while saving it the php script should give it a valid image file extension i guess... post the script and we shall fix it up...
you need to include the extension. without it, know one knows what kind of file it is.
I want to upload some image files into the server and let my database record its location...Then, I can use img to display the image again...
The problem is, when I use the img src tag, the location is correct and the image appears when I do testing on my own PC using localhost. This is not happen when I upload my webpage onto frihost..
Can anyone tell me why...
No because you haven't told us enough information. Why isn't the image displaying on FriHost? Is the image actually uploaded? Is the URL incorrect?
At a guess I'd say it's probably a write permissions problem FTP to Frihost and change the permissions for directory you are attempting to upload into by typing chmod <dirname>777
What is different with 0600 and 0644? The image file with 0644 is viewable but not with 0600... Anybody know why? Please tell me how to fix it too, as detail as possible... Thanks a lot!
Thanks...I finally figure out the solution... Thanks a lot! ^_^