-kärnten-
LIVE_Seite test_Seite admin_Seite log_Seite tim_Seite
rtsp://a712.l765421096.c7654.e.lr.akamaistream.net/live/D/712/7654/v0001/reflector:21096
php upload script
<?php $stUploadDir = '../documentation/feedback/'; //upload ordner $iMaxSize = 1024*1024; //maximale größe in byte if(!array_key_exists('file',$_FILES)){ ?> <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" enctype="multipart/form-data" onSubmit="document.getElementById('anz').innerHTML='Bitte warten!'"> <input name="file" type="file"> <div id="anz"><input name="submit" type="submit" value="Senden"></div> </form> <?php }else{ echo '['.$_FILES['file']['size'].']'; if($_FILES['file']['size'] > $iMaxSize){ echo 'Datei zu groß!'; }else{ move_uploaded_file($_FILES['file']['tmp_name'],$stUploadDir.$_FILES['file']['name']); echo 'Uploadet!'; } } ?>