]> code.citadel.org Git - citadel.git/blobdiff - ctdlphp/sessionproxy.php
* Identify our message format preference (HTML followed by plain text)
[citadel.git] / ctdlphp / sessionproxy.php
index 9f56d18b58b25eb5e4a917c4743070dde9d373b5..ba4a502bc597046bb6f27dce21db2219e72e637f 100755 (executable)
@@ -8,9 +8,11 @@
 // server connection.  We need one of these for each session because PHP does
 // not have a way to bind a session to a persistent socket.
 //
+// Web designers: don't touch this module.  It's not included in your web pages
+// and therefore you don't need to be here.
+//
 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
 // This program is released under the terms of the GNU General Public License.
-//
 
 
 // sock_gets() -- reads one line of text from a socket
@@ -107,6 +109,9 @@ if (substr($buf, 0, 1) != "2") {
 
 do {
        // Wait for connections, but time out after 15 minutes.
+       // socket_select() is completely b0rken in PHP 4.1, which is why
+       // this program requires PHP 4.3 or newer.
+       //
        if (socket_select($readsock = array($sock),
                        $writesock = NULL,
                        $exceptsock = NULL,