* Completed "post" and "post html" stuffs
[citadel.git] / ctdlphp / postmsg.php
index 778d269d3c0bf418b7e8e8ca4506643b7cfe7da8..4d40d4d4ed9ba5d8af818752fae08bfb32113a26 100644 (file)
@@ -3,13 +3,15 @@
        include "ctdlheader.php";
        bbs_page_header();
 
-       serv_puts("ENT0 1");
+       serv_puts("ENT0 1||0|4|");
        $response = serv_gets();
 
        if (substr($response, 0, 1) != '4') {
                echo htmlspecialchars(substr($response, 3)) . '<br>' ;
        }
        else {
+               serv_puts("Content-type: text/html");
+               serv_puts("");
                text_to_server($_REQUEST["msgtext"], TRUE);
        }