Explorar el Código

echo rendered string in form value

tags/v0.99.beta17
Ben Wiley Sittler bsittler hace 16 años
padre
commit
609f1b8f43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      caca-php/examples/www/figlet.php

+ 1
- 1
caca-php/examples/www/figlet.php Ver fichero

@@ -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


Cargando…
Cancelar
Guardar