I am working on a PHP project. Im having a problem giving the 'src' for a image, because the image file is placed outside of the www folder :(.
Let me explain more.
When I log in to my server using FTP logins, it gives the directory structure as below
+(some other folders)
I can access my project1 directly through the browser using
That means /project1/www/index.php file directly get executed by calling http://hostname/index.php (I really don't know how it is done, but it's working :))
Now I want to use project1/resources/additional/image.jpg for a <img> tag in /project1/www/index.php file.
<img src="../resources/additional/image.jpg"> But it's not woring :(
Can anybody help me with this please...?
Thank you so much for spending time to read this