This is an automated archive.

The original was posted on /r/php by /u/Basic_Solid3804 on 2023-08-29 18:41:36+00:00.


So for context I have a simple items page and i want to load the image of item separately in a different request so i have an items.php and imageloader.php , this works when i provide full path from C: Drive to imageloader but not when i just do /images

if it helps , i am using WAMP server , i cannot give full path because i have to share this code and other will not have same path or drive or Server

here is items.php 's image line

``

and here is imageloader.php’s function

``

thanks for your help