I'm curious about this, and I think I'm half way to a "no", but I'm not an expert.
Having a directory structure like the following, and being public the public root of a website:
Every .php file shown can be used to generate the webpage.
But, in the generated HTML, img.jpg can't be found.
Not with relative nor absolute paths, as far as I tested.
Is there a way to display this image on this website without moving it into public directory? (Permission changes and witchcraft allowed.)
If not, then why?
