Category: Membuat Uploud File Ke Folder, Membuat uploud PHP, php, Script Uploud File, Script Uploud No Mysql, Trik Php Membuat Uploud File, Uploud form tanpa Mysql.
Membuat uploud PHP, Script Uploud File, Trik Php Membuat Uploud File
Assalamu 'allaikum
Met siank sekarang kita bahas Cara Membuat Uploud File (tanpa database mysql) sangat Cocok banget niech buat menambah menu dari login kemarin di artikel cara membuat Login PHP tanpa Mysql Dan Logout nah tak usah lama lagi ke pokok nya saja ikuti langkah berikut ini :D
Pertama Buat File baru di hostingan anda beri nama misal uploud.php lalu masukan kode berikut ini sob
Selesai Copy paste kode di atas sekarang pasang juga kode ini di bawah nya yaitu untuk menampilkan form uploud nya cekidot... :D
Nah Selesai semoga bermanfaat mbah lihat hasil akhirnya disini DEMO
males nulis kode nya silahkan DOWNLOAD
jika ada pertanyaan silahkan hubungi saya di gustbook komentar atau di facebook saya ada di menu blogroll saya akhiri
wassalamu 'alaikum wr wb
Share On :
Membuat uploud PHP, Script Uploud File, Trik Php Membuat Uploud File
Assalamu 'allaikum
Met siank sekarang kita bahas Cara Membuat Uploud File (tanpa database mysql) sangat Cocok banget niech buat menambah menu dari login kemarin di artikel cara membuat Login PHP tanpa Mysql Dan Logout nah tak usah lama lagi ke pokok nya saja ikuti langkah berikut ini :D
Pertama Buat File baru di hostingan anda beri nama misal uploud.php lalu masukan kode berikut ini sob
<?php
//untuk proses uploud
if(isset($_POST['upload'])){
$dir ="files";
foreach ($_FILES['files']['name'] as $key => $val ) {
$name = $_FILES['files']['name'][$key];
$tmp = $_FILES['files']['tmp_name'][$key];
if(trim($name)!=''){
$new_name = "okatrick_".$name;
if(move_uploaded_file($tmp,''.$dir.'/'.$new_name )){
echo 'Berhasil mengupload file '.$new_name.' terimakasih'; }
else { echo'file gagal di uploud bro'; }
}
}
}
//letakan form uploud disini
//untuk proses uploud
if(isset($_POST['upload'])){
$dir ="files";
foreach ($_FILES['files']['name'] as $key => $val ) {
$name = $_FILES['files']['name'][$key];
$tmp = $_FILES['files']['tmp_name'][$key];
if(trim($name)!=''){
$new_name = "okatrick_".$name;
if(move_uploaded_file($tmp,''.$dir.'/'.$new_name )){
echo 'Berhasil mengupload file '.$new_name.' terimakasih'; }
else { echo'file gagal di uploud bro'; }
}
}
}
//letakan form uploud disini
Selesai Copy paste kode di atas sekarang pasang juga kode ini di bawah nya yaitu untuk menampilkan form uploud nya cekidot... :D
//menampilkan form uploud
echo'<b>Masukan File</b><br>
<form method="post" enctype="multipart/form-data" action="">
<input type= "file" name="files[]">
<br/> <input type="submit" name="upload" value="Upload" /></form>';
?>
echo'<b>Masukan File</b><br>
<form method="post" enctype="multipart/form-data" action="">
<input type= "file" name="files[]">
<br/> <input type="submit" name="upload" value="Upload" /></form>';
?>
Nah Selesai semoga bermanfaat mbah lihat hasil akhirnya disini DEMO
males nulis kode nya silahkan DOWNLOAD
jika ada pertanyaan silahkan hubungi saya di gustbook komentar atau di facebook saya ada di menu blogroll saya akhiri
wassalamu 'alaikum wr wb
Share On :
Aditya
Ni jejak ane gan :v ... Www.berbagiinfo.wapka.mobi
vLbjee4cVF8s
Slam dunkin like Shaquille O'Neal, if he wrote invomratife articles.
Admin
Aditya thank sob lgsung kunbal.. Keren kya nya
Picky
nyimak gan http://picky07.xtgem.com
Okatrick
Picky silahkan mbah
ajat
mantap
Moy6lDEFCXxZ
Dag nabbit good stuff you wheisprpnappers!
WFCbUbWL
When I was about 5, my older brother & I made a plan to wake up at 5 AM, which <a href="http://mywkrdis.com">beamce</a> a lasting tradition until we were out of the house. But that first year, we decided that we needed to let our parents sleep in, so we didn't wake them when we got up and started tearing into our presents. I guess our excitement woke them though because they were up before we finished unwrapping and oh boy, were we in trouble for not waking them up before we started unwrapping.Now that my nephews are about the ages we were then, THEY have started getting up at 5 AM to open presents. My 4-year-old only child hasn't caught on to that yet (and if her cousins ever tell her, I might have to kill them), which drives my brother insane when he is awake at 5 AM. So now he calls me every Christmas morning when his kids wake him up and tells (yells at...whatevs) me to get up too. My new tradition is to cuss him out and hang up on him.See? You're never to old to start new holiday traditions with your siblings.
seltra-liker
nyimak gan http://seltra-liker.yn.it
web master
mohon di subcriber ea gan
seltra-liker
Masuk ya gan buat yg gemar wap master
Seltra-liker.yn.lt
aU6EkdWnwz3
I really condlu't ask for more from this article.
tSHa6wRcHVui
Very valid, pithy, <a href="http://kvvsnl.com">sutinccc,</a> and on point. WD.
1W7rhEO7
What an awesome way to explain this-now I know evygithenr!
dyLlyCCn
I'm not easily imreesspd. . . but that's impressing me!
trGuXLv8tS0v
We need a lot more <a href="http://ubzkmt.com">inghists</a> like this!
3eAFyHTmn
A rolling stone is worth two in the bush, thanks to this aretcli.
wlTF2s3TeJFh
I love reading these articles because they're short but <a href="http://zcspvl.com">inafomrtive.</a>
YBr8XO1GoD
Thank you so much for this <a href="http://quhpizd.com">artcile,</a> it saved me time!