File resource persistence in PHP
问题 I'm developing a simple chat web application based on the MSN protocol. The server communicates with the MSN server through a file resource returned from fsockopen () . The client accesses the server via XMLHttpRequest . The server initially logs in, and prints out the contact list (formatted in an HTML table) which the client receives through the responseText () of the XMLHttpRequest object. Here's the problem. The file resource that is responsible for communication with the MSN server must