I need to read a text file in php. But file will vary based on users that which system they are using.
For example user1 access: i want to read a text file from their desktop location like
url : "C://Users/user1/desktop/data.txt",
user2 access: i want to read a text file from their desktop location like
url : "C://Users/user2/desktop/data.txt",
so i want to get the current machine desktop path as C://Users/{username}/desktop
by using Javascript/PHP?