I am hoping someone can help me, I am wanting to load/display a image on a page using php. But I want disable the images folder from been accessed from the web.
so e.g if I go to /image.php/test.jpg I want it to go get that image from the image folder and show it on screen using the image.php file, but I don't want it to be viewable like this http://website.com/images/test.jpg (i dont need help with the link code or anything, just the code needed instead of the html img tag) at the moment I am putting the img tage into a varible then returning it out of the function, but I don't think that will work this will work when I close up the image folder.
I am using iis8, I know how to disable the access using request filtering and setting the folder in url deny, just cant get the images or css file to load when I do that, unless theres a better/easier way to do it using iis so only php could call the files but guests cant using my existing
Many thanks all, Michael.