$uploaddir = 'uploads/user/';
$uploadfile = $uploaddir.basename($_FILES['uploadfile']['name']);
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
{
$image_fieldname = $_FILES['uploadfile']['name'];
}
else { echo "<h3>Критическая ошибочка!</h3>"; exit; }
JHVwbG9hZGRpciA9ICd1cGxvYWRzL3VzZXIvJzsKJHVwbG9hZGZpbGUgPSAkdXBsb2FkZGlyLmJhc2VuYW1lKCRfRklMRVNbJ3VwbG9hZGZpbGUnXVsnbmFtZSddKTsKCmlmIChjb3B5KCRfRklMRVNbJ3VwbG9hZGZpbGUnXVsndG1wX25hbWUnXSwgJHVwbG9hZGZpbGUpKQoJewogIAkgICRpbWFnZV9maWVsZG5hbWUgPSAkX0ZJTEVTWyd1cGxvYWRmaWxlJ11bJ25hbWUnXTsKCX0KZWxzZSB7IGVjaG8gIjxoMz7QmtGA0LjRgtC40YfQtdGB0LrQsNGPINC+0YjQuNCx0L7Rh9C60LAhPC9oMz4iOyBleGl0OyB9
Main.java:1: error: class, interface, or enum expected
$uploaddir = 'uploads/user/';
^
Main.java:1: error: unclosed character literal
$uploaddir = 'uploads/user/';
^
Main.java:1: error: unclosed character literal
$uploaddir = 'uploads/user/';
^
Main.java:2: error: unclosed character literal
$uploadfile = $uploaddir.basename($_FILES['uploadfile']['name']);
^
Main.java:2: error: unclosed character literal
$uploadfile = $uploaddir.basename($_FILES['uploadfile']['name']);
^
Main.java:2: error: unclosed character literal
$uploadfile = $uploaddir.basename($_FILES['uploadfile']['name']);
^
Main.java:2: error: unclosed character literal
$uploadfile = $uploaddir.basename($_FILES['uploadfile']['name']);
^
Main.java:4: error: class, interface, or enum expected
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
^
Main.java:4: error: unclosed character literal
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
^
Main.java:4: error: unclosed character literal
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
^
Main.java:4: error: unclosed character literal
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
^
Main.java:4: error: unclosed character literal
if (copy($_FILES['uploadfile']['tmp_name'], $uploadfile))
^
Main.java:6: error: unclosed character literal
$image_fieldname = $_FILES['uploadfile']['name'];
^
Main.java:6: error: unclosed character literal
$image_fieldname = $_FILES['uploadfile']['name'];
^
Main.java:6: error: unclosed character literal
$image_fieldname = $_FILES['uploadfile']['name'];
^
Main.java:6: error: unclosed character literal
$image_fieldname = $_FILES['uploadfile']['name'];
^
Main.java:7: error: class, interface, or enum expected
}
^
Main.java:8: error: class, interface, or enum expected
else { echo "<h3>??????????? ????????!</h3>"; exit; }
^
Main.java:8: error: class, interface, or enum expected
else { echo "<h3>??????????? ????????!</h3>"; exit; }
^
19 errors