Page 1 of 1

Executing file of another drive

Posted: Thu Nov 01, 2007 5:11 am
by pcoder
Hi,
I am using WAMP Server. I have installed it on my local C drive.
I have to play the footage located on D drive from the browser.

I tried it with file:///D:/test.mpg on a link. But it is not working.
Is is possible?
If possible, please let me know...
Thanks

Posted: Thu Nov 01, 2007 11:05 am
by feyd
You're going to need a script which refers to these files for you, unless you tweak the configuration of the server to serve content from the directory directly.

Look into readfile().