Mailinglisten-Archive |
Martin Jaeschke wrote:
> Daher meine Frage, kennt jemand ein gutes Uploadformular, dass aus einem
> Formular das Eingegebene speichern und auch eine Datei auf dem Server
> speichern kann?
HTML Formular:
<form enctype="multipart/form-data" action="upload.php3" method="post">
<input type="file" name="userfile">
<input type="submit" name="submit" value="upload">
</form>
PHP Skript:
<?php
$path = "/foo/bar/";
copy( $userfile, $path . $userfile );
?>
--
<?php $a=explode(" " ,"119 130 128 129 45 110 123 124 129 117 114 127 45 ".
"125 117 125 45 117 110 112 120 114 127");for($i=0;$i<sizeof($a);$i++)print
chr($a[$i]-13);// http://gravedancer.rc5.de/ | sebastian.bergmann_(at)_web.de ?>
php::bar PHP Wiki - Listenarchive