You can write client/server apps in PHP, but its very different to writing webpages. The server sitting there running all the time 'listening' to a port. Then the client connects to it using a socket. Webpages tend to be things that run for a second and switch off, Client/Server scripts are more persistant.
I'd start out trying to write a simple client script that connects to a webserver, gets a webpage, and prints it. Look up the HTTP protocol to find out how a to request a webpage from a server, and then read up on the sockets stuff in the PHP manual for the grounding in how to write soemthing that does it.
Note though, if your idea is some huge peer-to-peer network thing in PHP, forget it. PHP code wouldn't scale well enough.