
Kann mir bitte jemand sagen, wie ich den Upload
<input name="userfile" type="file">
auf .html und .txt Dateien beschränken kann?
PHP-Code:
if ($_POST['userfile'] != "$xname.html" || $_POST['userfile'] != "$xname.txt") {
// So funktioniert es nicht...
}
Kommentar