Thursday, 21 July 2016

How to access local file system in php using XAMPP ?


XAMPP manages a document root folder on local environment : <install-dir>\htdocs

To make a file available through your development server, copy the files in this folder.
 

To access file : <install-dir>\htdocs\test\sample.txt , Use in browser :
http://localhost/test/sample.txt

No comments:

Post a Comment

Note: only a member of this blog may post a comment.