Minggu, 10 Januari 2010

PHP : UPLOAD1

echo mime_content_type('freeundelete.exe') . "\n";
echo mime_content_type('model.zip') . "\n";
//echo mime_content_type('terakhir.php') . "\n";
//echo mime_content_type('alias.eko') . "\n";

//echo $_SERVER['DOCUMENT_ROOT'];

/*if ($submit)
{
$doc_directory="D:/xampplite/htdocs";

$my_file="./up_download/".$userfile_name;
$copy_path=$doc_directory.$my_file;

if (!move_uploaded_file($userfile, $copy_path))
{
print "upload gagal";
}
else
{
print "upload sukses";
}
}

print "
";
print "
";
print "Send this file:
";
print "
";
print "
";
*/
?>

Tidak ada komentar: