Jump to content

Upload works BUT


merylvingien

Recommended Posts

Hey guys, i managed to get a upload file to work, and it works out ok, apart from i need to limit the file size that can be uploaded.

 

However when i try and view the file: example: 37b55a4500f05584aef162fad0906f07.JPG

 

I am getting an error message saying that i dont have permission to view this file...

 

I have checked the folder permissions and also the image permissions and they check out ok.

 

Anyone have any ideas?

Link to comment
https://forums.phpfreaks.com/topic/187744-upload-works-but/
Share on other sites

how are you viewing the file? are you echoing it out with html?......I'd also make sure the permissions on the temporary upload folder has  the correct permissions as well as the moved to folder has the correct permissions.

 

I have tried echoing with html and viewing direct from the browser, it just seems to be a problem with that folder, if i put a index page in there i can view that but no images, even if i ftp the images into the folder. Ive tried messing about with the folder permissions etc but no joy.

 

I have never come across this before.

 

You mention a temporary upload folder, but there is none. Only /uploads/

 

The image gets put in the folder ok through the upload page.  :shrug:

Link to comment
https://forums.phpfreaks.com/topic/187744-upload-works-but/#findComment-991242
Share on other sites

Is there some way that php can effect an image, becuase i have moved an uploaded image into my images folder, still cannot view it, renamed it, still cannot view it.

 

Localy all works fine.

 

Webhost just gave me the usual file permissions should be this etc.

Link to comment
https://forums.phpfreaks.com/topic/187744-upload-works-but/#findComment-991284
Share on other sites

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.