equal
deleted
inserted
replaced
53 |
53 |
54 // print_r($vtr); |
54 // print_r($vtr); |
55 // echo "<br><br>\n"; |
55 // echo "<br><br>\n"; |
56 // echo "Vertragsbezeichnung: " . $vtr['cname'] ."<br><br>\n"; |
56 // echo "Vertragsbezeichnung: " . $vtr['cname'] ."<br><br>\n"; |
57 |
57 |
|
58 if ($_FILES["rfile"]["error"] == 1 || $_FILES["rfile"]["error"] == 2) |
|
59 { |
|
60 if ($_FILES["rfile"]["error"] == 2) |
|
61 echo "<p class='red'><b>Uploadfile > 10 MByte!</b></p>\n"; |
|
62 $ok = 0; |
|
63 } |
|
64 |
58 if (!$ok || !$ins || ($ins && is_uploaded_file($_FILES["rfile"]["tmp_name"]) && $raum['rfname']<'!')) |
65 if (!$ok || !$ins || ($ins && is_uploaded_file($_FILES["rfile"]["tmp_name"]) && $raum['rfname']<'!')) |
59 { |
66 { |
60 $upd = $ins; // wegen filename-Pruefung bei Upload |
67 $upd = $ins; // wegen filename-Pruefung bei Upload |
61 include_once("form/raum_form.inc.php"); |
68 include_once("form/raum_form.inc.php"); |
62 |
69 |