How to translate external files into webroot ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
puriyves
Forum Newbie
Posts: 1
Joined: Sat Mar 28, 2009 1:35 pm

How to translate external files into webroot ?

Post by puriyves »

Hello there,
is there any function in PHP to translate external folder into webroot ?
example :
I have files in my d:\test\xyz.doc
how can I translate d:\test\xyz.doc into http://localhost/test/xyz.doc ?
so I can download the xyz.doc files using web browser

anyway sorry for this simple question
thank you in advance,
Post Reply