Hello,
I want to make an irc client in PHP. COnnecting works fine. I want to connect on the main.php, which is the frameset of input.php and msg.php.
The Question is: how could I use the socket in the two frames?
any ideas?
elian
You need to use <a href="http://www.php.net/manual/en/function.pfsockopen.php">pfsockopen()</a> to create a persistent socket. Then you just use the same file pointer in both scripts.
i did this... but: how could i get this filepointer? 🙂