Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
move_uploaded_file($tmpname,"images/".$gallery['gallery']."/".$filename);
<?
if($op==""){
$content_modul="";
echo "<center>";
$content_modul .= "
<center>
<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<form action=\"index.php\" method=\"post\">
<tr>
<td>"._DVDTITLE."</td>
<td><input type=\"text\" name=\"name\"></td>
</tr>
<tr>
<td>"._DVDLAND."</td>
<td><input type=\"text\" name=\"land\"></td>
</tr>
<tr>
<td>"._DVDJAHR."</td>
<td><input type=\"text\" name=\"jahr\"></td>
</tr>
<tr>
<td>"._DVDOTITEL." </td>
<td><input type=\"text\" name=\"original_titel\"></td>
</tr>
<tr>
<td>"._DVDREGCODE."</td>
<td><input type=\"text\" name=\"regional_code\"></td>
</tr>
<tr>
<td>"._DVDGENRES."</td>
<td><input type=\"text\" name=\"genre\"></td>
</tr>
<tr>
<td>"._DVDLANGE."</td>
<td><input type=\"text\" name=\"filmlange\"></td>
</tr>
<tr>
<td>"._DVDALTER."</td>
<td><input type=\"text\" name=\"alter\"></td>
</tr>
<tr>
<td>"._DVDREGIE."</td>
<td><input type=\"text\" name=\"regie\"></td>
</tr>
<tr>
<td>"._DVDSTUDIO."</td>
<td><input type=\"text\" name=\"studio\"></td>
</tr>
<tr>
<td>"._DVDBILFORMAT."</td>
<td><input type=\"text\" name=\"bildformat\"></td>
</tr>
<tr>
<td>"._DVDTONFORMAT."</td>
<td><input type=\"text\" name=\"tonformat\"></td>
</tr>
<tr>
<td>"._DVDUTITEL."</td>
<td><input type=\"text\" name=\"untertitel\"></td>
</tr>
<tr>
<td>"._DVDFEATURES."</td>
<td><input type=\"text\" name=\"features\"></td>
</tr>
<tr>
<td>"._DVDDTYP."</td>
<td><input type=\"text\" name=\"disc_typ\"></td>
</tr>
<tr>
<td>"._DVDDVDCASE."</td>
<td><input type=\"text\" name=\"case\"></td>
</tr>
<tr>
<td>"._DVDBONUS."</td>
<td><input type=\"text\" name=\"bonus\"></td>
</tr>
<tr>
<td>"._DVDBILD."</td>
<td><input type=\"file\" name=\"file\"></td>
</tr>
<tr>
<td>"._DVDCOVER."</td>
<td><input type=\"file\" name=\"cover\"></td>
</tr>
<tr>
<td>"._DVDHANDLUNG."</td>
<td><textarea cols=\"50\" rows=\"10\" name=\"handlung\"></textarea></td>
</tr>
<input type=\"hidden\" name=\"modules\" value=\"$modules\">
<input type=\"hidden\" name=\"dvdanzeige\" value=\"hinzufugen\">
<input type=\"hidden\" name=\"op\" value=\"senden\">
<tr>
<td><input type=\"reset\" value=\""._ADMINRESET."\"></td>
<td><input type=\"submit\" value=\""._ADMINSUBMIT."\"></td>
</tr>
</form>
</table>
</center>
";
include("theme/$theme/module.php");
echo "</center>";
}elseif($op=="senden"){
$ordner_pfad = "modules/$modules/images/covers/";
$ordner_name = $name;
$neuer_ordner = $ordner_pfad.$ordner_name;
mkdir($neuer_ordner,0777);
$uploaddir="modules/$modules/images/covers/";
move_uploaded_file($_FILES['file']['tmp_name'],$uploaddir.$_FILES['file']['name']);
//copy ($bild, "temp.pp0");
//move_uploaded_file($_FILES['bild']['tmp_name'], "test/datei.jpg");
}
?>
<form method="post" action="irgendeinlustigerupload.php" enctype="multipart/form-data">