Trying to connect to a Server program and request information through a comand. fgets and fputs dont seem to work.
I am trying to connect to a gaming server and request information about players. i coonect through an ip and then request using a command. How do i do this through php?
Before you can fget() a line from a file, you need to open the file with fopen() or a related function.
Please post the code, hard to guess at what isn't working unless we can see the code.