www/upl_brew.php

changeset 299
047ead629d4a
parent 297
5e2424bfbc4a
equal deleted inserted replaced
298:307640ba6ab6 299:047ead629d4a
27 } 27 }
28 28
29 if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) { 29 if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $target_file)) {
30 echo "Verwerken bestand ". basename( $_FILES["fileToUpload"]["name"]). "<br />"; 30 echo "Verwerken bestand ". basename( $_FILES["fileToUpload"]["name"]). "<br />";
31 } else { 31 } else {
32 echo "Fout 4: er gieng iets fout met de upload."; 32 echo "Fout 4: er ging iets fout met de upload.";
33 exit; 33 exit;
34 } 34 }
35 35
36 $json= file_get_contents($target_file); 36 $json= file_get_contents($target_file);
37 $brew = json_decode($json, true); 37 $brew = json_decode($json, true);

mercurial