Jump to content
Larry Ullman's Book Forums
Sign in to follow this  
Mahdi

Problem with displaying uploaded images

Recommended Posts

Hello sir,

I am doing exactly same as the book did:

I can upload images, and I get images lists, but in images.php I get the warning:

getimagesize(../../../uploads):failed to open stream:permission denied in c://xampp/htdocs/images.php

and when I click image link the new window according to the image size pop ups but with no content (error 404)

The users have permissions to read and write the folder and there is nothing before my php tag in show_images.php.

thank you,

 

 

Share this post


Link to post
Share on other sites

I assume your path is incorrect. Where is the uploads folder located at (the absolute path)?

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...