* Reinstated the 'Delete' button in the mailbox view, for use by users who don't...
[citadel.git] / ctdlphp / postmsg.php
blob0edea5a5e0979fc20e3c88686f1960c29ae01fd7
1 <?PHP
3 include "ctdlheader.php";
4 bbs_page_header();
6 serv_puts("ENT0 1||0|4|");
7 $response = serv_gets();
9 if (substr($response, 0, 1) != '4') {
10 echo htmlspecialchars(substr($response, 3)) . '<br>' ;
12 else {
13 serv_puts("Content-type: text/html");
14 serv_puts("");
15 text_to_server(stripslashes($_REQUEST["msgtext"]), TRUE);
18 echo "Message has been posted.<BR>\n" ;
20 bbs_page_footer();