1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/php/texy/http/index.php Wed Jun 09 15:51:41 2010 +0200
1.3 @@ -0,0 +1,14 @@
1.4 +<?php
1.5 +
1.6 +$vstup = urldecode(file_get_contents('php://input'));
1.7 +
1.8 +require_once "texy-2.1/texy/texy.php";
1.9 +$texy = new Texy();
1.10 +$texy->encoding = "UTF-8";
1.11 +$texy->setOutputMode(Texy::XHTML1_STRICT);
1.12 +$texy->process(NULL); //advertisingNotice nepotřebujeme: <!-- by Texy2! -->
1.13 +$vysledek = $texy->process($vstup);
1.14 +
1.15 +echo($vysledek);
1.16 +
1.17 +?>