Jump to content

Permission Denied after Image Upload


kool_samule

Recommended Posts

Hi Chaps,

 

I've got a image upload script that works on my Apache on IIS development server, but on the Apache Lunix live server, although the images are uploaded correctly and the MySQL database is updated correctly, I can't view the images.

 

Viewing the HTML source, checking both the FTP files and the database values, all look OK.

 

But the image doesn't show, just the white box with the red cross in the corner.

 

If I try to copy the shortcut of the image and open it in a seperate window, I get the following:

forbidden you don't have permission to access [image path]

 

I'm not sure what to try next, it seems strange that the files/database/source look good but it just won't show!

 

I've tried both $HTTP_POST_FILES and $_FILES to upload the images, but both have the same result.

 

If anyone has any ideas, please help!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

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