: Please could you give some code examples and the exact error/warning message that you are getting. That way, we will be able to help you better - it is difficult to know exactly what to do, when there are only a few hints provided.
: Thank you.
: "Let us smite the evil slime eating hordes who may befall us on our quest to be the ultimate programmers of the known universe!"
(Due to the fact that I was unable to find a post to solve my problem and that this one seems to deal with what I'm working on, yet is remained un anwsered)
I am also new to php and am curious on how to open a file on the local (user's) computer. Instead I'm using the command file_get_contents.
so far I have been able to make my script open a sample txt file on my server but I don't understand what to input to recieve from a computer. This is my script so far:
$myfile = substr(file_get_contents('Config.ini'),141,10);
The contents of test.txt:
The script to ment to view the name of the user account name.
Now lets say if I wanted to view default name of the user in "C:/Program Files/Sample App/Config.ini" How would I do that?