ok, this learning project will run only localy
winxp + service pack 3
xampp + PHP: 5.2.0
root folder: localhost/demo (C:\Program Files\xampp\htdocs\demo)
i need to run a script in my root, that will show me images from another hard disc on the same computer (not network drive, not shared)
the path of the files is: G:/folder1/folder2/folder3/file
I cannot point to that file to load directly into my demo application
if it is an image, show it
if it is a txt open it
etc
is this possible at all or should all files be inside root folder?
As you use the apache websever, take a look into the
Aliasdirective Docs – that’s exactly what it is for.You can then access all files inside folder3 via
http://localhost/files/....