Selasa, 20 Agustus 2013

PHP Indonesia - Facebook: [bertanya] malam master.. mau bertanya ni. masala...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Learn Adobe Illustrator CS6 Master Techniques from an Adobe Guru!

With over 25 years of experience teaching, Robert Farrell has been a trusted instructor for individuals and companies who want to improve their Adobe skills.
From our sponsors
[bertanya] malam master.. mau bertanya ni. masala...
Aug 20th 2013, 14:07, by Ardian Nourientzz Blankass

Ardian Nourientzz Blankass 2:07pm Aug 20
[bertanya]
malam master..

mau bertanya ni.
masalah coding upload foto...
bgini critanya..
dalam sekali upload banyak foto yang dilampirkan/ dipilih...
yang jadi masalah..
jika saya pilih foto dalam keadaan terisi semua, terus saya upload, terkadang ada beberapa yang tidak masuk database..
foto yg akan diupload ada 28 file gambar dalam sekali upload.

//yg ingin saya tanyakan bagaimana cara mngatasinya biar bsa upload dngan bnar..
ini sdkit penggalan codingnya..

//upload file
if($_FILES['satya1']['size']){
$filenamea = $_FILES['satya1']['name'];
$acak = rand(000000,999999);
$nama_file_unika = $acak.$filenamea;

$move = move_uploaded_file($_FILES['satya1']['tmp_name'], 'upload/'.$nama_file_unika);
}

//upload file
if($_FILES['satya2']['size']){
$filenameb = $_FILES['satya2']['name'];
$acak = rand(000000,999999);
$nama_file_unikb = $acak.$filenameb;

$move = move_uploaded_file($_FILES['satya2']['tmp_name'], 'upload/'.$nama_file_unikb);
}

mhon dbntu master..
terima kasih sebelumnya..

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar