fritz: Dateiupload

Beitrag lesen

an sonsten:

file1:
<html>
<body>
<form enctype="multipart/form-data" action="ul.php3" method=POST>
  <input name="upload" type="file" size="10">
  <input type="submit" value="up" name="submit">
</form>
</body>
</html>

ul.php3:
<?
$basis = "dein verzeichnis, absolut";
if ($upload != "")
{
  exec("mv $upload /$basis$upload_name");
}
?>