My setup (or path) is as follows:
|Home |ftpUsername |assets |images.png |script.php |mydomain.com |index.php
index.php is located in mydomain.com, which includes script.php in /home/ftpUsername/assets without a problem.
script.php is included in index.php using the include() function. My question is, how can I get PHP to load the images (png format) which are in /home/ftpUsername/assets/ through script.php?
In other words: How can I load /home/ftpUsername/assets/myimage.png in script.php?
Note: /home/ftpUsername/mydomain.com/ is a live directory (is online attached to a domain) and home/ftpUsername/assets/ is not (local directory on the server).
I have tried loading it directly from path using img src="/home/ftpUsername/assets/myimage.png" to no avail, with and without a backslash.