fopen file in appdata folder (wamp)

I have some csv file in this path:

C:UsersmyusernameAppDataRoamingsome_file.csv

I want to open this file by fopen from my www dir (wamp).
Here my try:

$my_file = fopen('C:UsersmyusernameAppDataRoamingsome_file.csv', 'r');

Here what I get:

“failed to open stream: No such file or directory”

Thanks.


Source: wampserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.