programmieren:php:programme:suchen
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
programmieren:php:programme:suchen [07/11/2021 12:16] – conny | programmieren:php:programme:suchen [07/11/2021 12:20] (aktuell) – conny | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
===== Suchen auf Webspace ===== | ===== Suchen auf Webspace ===== | ||
+ | |||
+ | <code php| find.php> | ||
+ | <?php | ||
+ | /** | ||
+ | * Dateisuche per find | ||
+ | * | ||
+ | */ | ||
+ | $file = basename(__FILE__); | ||
+ | ?> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <?php | ||
+ | $param = htmlspecialchars($_GET[" | ||
+ | |||
+ | if ($param == " | ||
+ | $fname = htmlspecialchars($_GET[" | ||
+ | $erg = shell_exec(" | ||
+ | if ($erg === " | ||
+ | echo " | ||
+ | } else { | ||
+ | echo "< | ||
+ | } | ||
+ | echo "<a href=' | ||
+ | } else { | ||
+ | ?> | ||
+ | <form > | ||
+ | <label for=" | ||
+ | <input type=" | ||
+ | | ||
+ | <input type=" | ||
+ | <input type=" | ||
+ | </ | ||
+ | <? | ||
+ | } | ||
+ | ?> | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
<code php| find.php> | <code php| find.php> |
programmieren:php:programme (259 views) · Zuletzt geändert: 07/11/2021 12:20 von conny