Selasa, 10 Desember 2013

web programing

CONTOH FORMULIR UNTUK UPLOAD FILE :
File : upload.php









File : upload_file.php
0)
{
echo "Error: " . $_FILES["file"]["error"] . "
";
}
else
{
echo "Upload: " . $_FILES["file"]["name"] . "
";
echo "Type: " . $_FILES["file"]["type"] . "
";
echo "Size: " . ($_FILES["file"]["size"] / 1024) . " Kb
";
echo "Stored in: " . $_FILES["file"]["tmp_name"];
}
?>

Tidak ada komentar:

Posting Komentar

berkomentarlah untuk membagi ilmumu

Cara Seo Blogger