summaryrefslogtreecommitdiff
path: root/endpoint.php
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-03-18 11:52:54 +0000
committerTrygve Laugstøl <trygvis@inamo.no>2012-03-18 11:52:54 +0000
commite0a5561fda74908f19166844da6e08a6c02ff0e1 (patch)
tree169a7b551a6c4368ed7bfbfd39c080b8fb3121ed /endpoint.php
parent3abcaeebf6b533c35aafbbd86a1a44246e99a572 (diff)
downloadhttp-mq-e0a5561fda74908f19166844da6e08a6c02ff0e1.tar.gz
http-mq-e0a5561fda74908f19166844da6e08a6c02ff0e1.tar.bz2
http-mq-e0a5561fda74908f19166844da6e08a6c02ff0e1.tar.xz
http-mq-e0a5561fda74908f19166844da6e08a6c02ff0e1.zip
o Adding html templates.
Diffstat (limited to 'endpoint.php')
-rw-r--r--endpoint.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/endpoint.php b/endpoint.php
index e133c90..b8f9f6c 100644
--- a/endpoint.php
+++ b/endpoint.php
@@ -29,6 +29,7 @@ if(isset($content_length)) {
fwrite($fd, "Content-Length: ". $content_length . "\n");
}
fwrite($fd, "\n");
+fwrite($fd, file_get_contents("php://input"));
fflush($fd);
fclose($fd);