Bläddra i källkod

echo rendered string in form value

tags/v0.99.beta17
Ben Wiley Sittler bsittler 17 år sedan
förälder
incheckning
609f1b8f43
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      caca-php/examples/www/figlet.php

+ 1
- 1
caca-php/examples/www/figlet.php Visa fil

@@ -9,7 +9,7 @@ header('Content-Type: text/html; charset=UTF-8');
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>
<form method="get" action=""><input name="str"/><input type="submit" value="OK"/></form>
<form method="get" action="#"><input name="str" value="<?= htmlspecialchars(isset($_GET["str"]) ? $_GET["str"] : "Libcaca") ?>" /><input type="submit" value="OK" /></form>
<?php
/*
* figlet.php sample program for libcaca php binding


Laddar…
Avbryt
Spara