2) My script works like this.
IRC Server <-> PHP Script <-> Client
i'm using fsockopen and fgets commands to access the irc server, and socket_read to read from the client
as i know, socket_read will make the system stop there and wait for the user to input, what can I do to allow the script to recieve data from the irc server even when the system is waiting for input from the client?
thanks a lot