Cant access folder to display images.
Posted by: HAMAPhotography (---.static.tpgi.com.au)
Date: May 01, 2016 01:18AM

I have wamp installed at c/www I a virtual host set up as hama so my browser shows it as [hama] the folder within www that has my project in it is called mi6 . within mi6 I have folder for images called uploads. so my structure is : www/mi6/uploads/ I code in php. I have a script that uploads images to the uploads directory without a problem. I can upload single or multiple images. All without problem. However, when I try and access the /uploads directory to display images within a script I get broken image icons. If I right click on the icon and say open image in new tab I get a 404 but can see that the image path is [hama] which is correct. So I am at a loss. I can write to the directory but not read from it. Any ideas would be appreaciated.

Options: ReplyQuote
Re: Cant access folder to display images.
Posted by: RiggsFolly (Moderator)
Date: May 01, 2016 12:50PM

Hi,

This does not sound like a WAMPServer issue

I am sorry, but this is not a site that provides PHP coding assistance.


You could try StackOverflow.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.