X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fbrisk.phh;h=b9f305abc1e33b4632270e31f67c703633015353;hb=eeef8a0eacaa2d3d0174dba8561ec860868bc1c6;hp=45b583cfcbf2c1ca52b2fbd78a250be31a28cb2e;hpb=fed13c8f63caa97620ff8e82698fa46ff508ae92;p=brisk.git diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 45b583c..b9f305a 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -2288,7 +2288,13 @@ class Room if (!(BRISK_DEBUG & DBG_ENGI)) return (FALSE); fprintf(STDERR, "TEST.PHP running\n"); - $content = "OK"; + if (isset($post['data'])) { + $content = $post['data']; + } + else { + $content = "NO DATA AVAILABLE"; + } + $header_out['Content-Type'] = 'text/plain'; $s_a_p->pendpage_try_addflush($new_socket, 20, $enc, $header_out, $content); return TRUE; break;