Original Post
I used to use PHP, but stopped for multiple reasons. Now I am re-teaching it to myself. Right now to test my memory I pulled out an old project from the "to program" area (everything, but the code it done). The program is a P2P chat client to be used to communicate with my game development team. The one part that won't work is reading from the files. I don't quite remember how to do this. The code that I used is: while (!feof($f)) { $x=fgetc($f); $uo = $uo + $x; } All that I am trying to do is get the content of the file stored as a variable($uo).