Jumat, 02 Agustus 2013

PHP Indonesia - Facebook: gan gmana y buat insert tpi tdak menggunakan submi...

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/ 
gan gmana y buat insert tpi tdak menggunakan submi...
Aug 2nd 2013, 07:56, by Lintar Febriyanto

Lintar Febriyanto 7:56am Aug 2
gan gmana y buat insert tpi tdak menggunakan submit tpi dengan modifikasi dngan mouseover bisa gak

Dede Hidayat 8:06am Aug 2
bisa,, pake bantuan javascript

Lintar Febriyanto 8:11am Aug 2
Contoh script px gan

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

PHP Indonesia - Facebook: maaf numpang tanya lagi kalo script ini dijadikan ...

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/ 
maaf numpang tanya lagi kalo script ini dijadikan ...
Aug 2nd 2013, 07:49, by Moch Alfasih

Moch Alfasih 7:49am Aug 2
maaf numpang tanya lagi
kalo script ini dijadikan auto delete record mysql gimana ya ?

<?php
error_reporting(0);
$lamafile = 3600;
$waktu = time();
$dir = 'files';
if ($handle = opendir($dir)) {
while(false !== ($file = readdir($handle)))
{
$tempatfile = "$dir/$file";
$akses = fileatime($tempatfile);
if( $akses !== false)
if( ($waktu- $akses)>=$lamafile )
unlink($tempatfile);
}
closedir($handle);
}
?>

Cahya Dsn 7:53am Aug 2
kondisi record di tabel yang gimana yang mau dihapus.. agak beda dengan logik/sintak penghapusan file berdasarkan waktu pembuatan file yang diberikan tersebut soale ^_^V

Willy 7:55am Aug 2
ini coba saya fiddlekan y...

Moch Alfasih 7:56am Aug 2
misalnya ada tabel id, username, password. Recordnya nanti kehapus sendiri kalo udah 1 bulan

Adhie Purwa Sasmita 7:58am Aug 2
kyk'a mending manual deh, jadi g kaget juga user atau admin'a klo id user itu udah k hapus

Moch Alfasih 7:59am Aug 2
kalo id user udah ke hapus, pasti usernya tau kalo masa aktifnya sudah habis

Adhie Purwa Sasmita 8:01am Aug 2
kalo dia mau memperpanjang masa aktif'a gmn? msa hrus nunggu abis msa aktif'a baru daftar lagi,

Moch Alfasih 8:03am Aug 2
ya nanti aja itu

Ragil Wahyu Kurniawan 8:05am Aug 2
kenapa gak pakek status aktif atau tidak aktif aja :D

Adhie Purwa Sasmita 8:05am Aug 2
yaah :D, pke tanggal aj gan coba, jadi pas dftar d ksih masa aktif, nah pas tgl masa aktif'a abis lu delete

Moch Alfasih 8:05am Aug 2
ada script yg kira kira kek gitu ga ?

Moch Alfasih 8:08am Aug 2
cara biar tanggalnya otomatis gimana ya ?

Adhie Purwa Sasmita 8:08am Aug 2
nah itu Ragil Wahyu Kurniawan genius tuh, simple but perfect

Moch Alfasih 8:10am Aug 2
tapi saya mau bikin untuk delete file yg di upload :|

Ragil Wahyu Kurniawan 8:12am Aug 2
pertama pakek tanggal dulu om moch,
ketika tanggal melebihi tanggal aktif ditentukan maka update otomatis Statusnya Non Aktif, ketika statusnya Non Aktif, Update Lagi Field File yang di upload jadikan kosong :v

kira2 logikanya sperti itu :D

Adhie Purwa Sasmita 8:14am Aug 2
yaitu solusi'a mainkan tanggal, pas tgl udah lebih dri bates aktif, lgsg search n delete item

Moch Alfasih 8:15am Aug 2
iya cara biar tanggalnya ke daftar otomatis gimana ?

Ragil Wahyu Kurniawan 8:17am Aug 2
kedaftar otomatis gimana gan..

ya tinggal
if (tanggal di field tabel > tanggal di server/komputer )//pkek Mkdate or mktime :D
{
//action nya disini om
}

Willy 8:17am Aug 2
http://sqlfiddle.com/#!2/fa526f/4

Willy 8:17am Aug 2
coba contohnya dipelajari dahulu

Moch Alfasih 8:18am Aug 2
hmm okok tq

Cahya Dsn 8:21am Aug 2
kalo lagi iseng gan... pake event scheduler-nya mysql; tinggal buat script SQL kecil, jalanin di database server, tinggal atur untuk jalan tiap hari sekali, kalo ada data record yg tanggalnya lebih/sama dengan 1 bulan yg lalu maka update flag-nya jadi nggak aktif; atau hapus recordnya.. ^_^V.. maaf itu ane kalo lagi iseng gan.. daripada njalanin script php tiap-tiap kali buat ngecek atao masukin ke cron/task scheduler.. kalo bisa dijalanin via database server ya biarlah jadi tanggung jawab database servernya cmiiw ^_^V

Adhie Purwa Sasmita 8:23am Aug 2
cmiiw itu ap c?? O.o

Moch Alfasih 8:24am Aug 2
correct me if i wrong

Ragil Wahyu Kurniawan 8:24am Aug 2
Corect Me If Im Wolesss :v

Willy 8:24am Aug 2
haha.. ane saranin buat bikin jadi PHP karena biasa kalo pruning item ane selalu log datanya jadi print out :malu: sori nubi gan :D

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

PHP Indonesia - Facebook: bang, gimana yak caranya supaya perulangan ini bis...

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/ 
bang, gimana yak caranya supaya perulangan ini bis...
Aug 2nd 2013, 07:59, by Warisman Yudhi Syam

Warisman Yudhi Syam 7:59am Aug 2
bang, gimana yak caranya supaya perulangan ini bisa normal? maksudnya gak ngulang2 ampe ratusan kali alias hanya ngulang sebanyak jumah $_POST['bup'] yang ada atau sebanyak $_POST['mk']?

terima kasih sebelummya


foreach($_POST['bup'] as $bup){
foreach($_POST['mk'] as $kdmakul){
$result = mysql_query("INSERT INTO krs (`npm`, `kdmakul`, `gg`, `ta`, `kdprodi`, `jenis`, `bup`) VALUES('$npm','$kdmakul','$gg','$ta','$kdprodi','$jenis','$bup')");
}
}

Rahmad Wijayanto 8:25am Aug 2
maksdny paan ndak jelas..???

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

PHP Indonesia - Facebook: Hallo, Ada yang pengalaman query select like untu...

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/ 
Hallo, Ada yang pengalaman query select like untu...
Aug 2nd 2013, 07:56, by Jogi Silalahi

Jogi Silalahi 7:56am Aug 2
Hallo,

Ada yang pengalaman query select like untuk chinese character? Saya coba kok gak ada result ya?

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

PHP Indonesia - Facebook: Numpang Tny .. Default dia nampilin tahun sekarang...

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/ 
Numpang Tny .. Default dia nampilin tahun sekarang...
Aug 2nd 2013, 08:21, by Ecko Poetra Irawan

Ecko Poetra Irawan 8:21am Aug 2
Numpang Tny ..
Default dia nampilin tahun sekarang, waktu pilih periode dia nampilin sesuai tahun yg dipiih, dan kalau pilih seluruhnya, y dia nampilin seluruhnya..
mohon pencerahanny.. :D

Ragil Wahyu Kurniawan 8:24am Aug 2
select * from tabel_anu where Year(tahun)

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

PHP Indonesia - Facebook: permisi master,, mohon bantuannya,,, gimana cara b...

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/ 
permisi master,, mohon bantuannya,,, gimana cara b...
Aug 2nd 2013, 07:43, by Tri Gunawan

Tri Gunawan 7:43am Aug 2
permisi master,, mohon bantuannya,,,
gimana cara bikin timer mundur, yg jika timernya habis maka data yg diinputkan akan tersimpan otomatis,,,,
mohon pencerahannya,,,

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

PHP Indonesia - Facebook: minta saran aja deh.. http://pastebin.com/YVWpEj4i...

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/ 
minta saran aja deh.. http://pastebin.com/YVWpEj4i...
Aug 2nd 2013, 07:06, by Gunawan Mujur Wibisono

Gunawan Mujur Wibisono 7:06am Aug 2
minta saran aja deh..
http://pastebin.com/YVWpEj4i
ini script agar km bisa input ke 2 server berbeda.. anggap local dan hosting..

Arnas Risqianto 7:20am Aug 2
apa ngga sebaiknya POST nya disisi backend saja? jadi di client cukup POST ke salah satu, kemudian di server re-POST ke server satunya. karena kemungkinan di client data cuma terinput cuma ke satu server saja akibat terputusnya koneksi. kalau di sisi server saya rasa koneksinya lebih reliable

Mas Suwondo 7:37am Aug 2
Dan juga kalau dari sisi server ke server, khan IP atau domain server itu sudah tertentu. Jadinya cross origin nya bisa dibatasi, agar yang input itu benar-benar hanya dari server tersebut.

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