Jumat, 02 Agustus 2013

PHP Indonesia - Facebook: siang master2 php, tanya: saat web kita di hack da...

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/ 
siang master2 php, tanya: saat web kita di hack da...
Aug 3rd 2013, 05:40, by Gung Web

Gung Web 5:40am Aug 3
siang master2 php, tanya: saat web kita di hack dan di deface bagaimana cara agar kita tau dibagian script mana adanya bug itu? Catatan: hosting tidak ada masalah dengan keamanan. Trims.

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: guys mo tanya, apa perbedaan fungsi mysql_fetch_ro...

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/ 
guys mo tanya, apa perbedaan fungsi mysql_fetch_ro...
Aug 3rd 2013, 05:10, by Cyntha L Fagha

Cyntha L Fagha 5:10am Aug 3
guys mo tanya, apa perbedaan fungsi mysql_fetch_row() dan mysql_fetch_array()?
untuk update n delete data
tq

Fahmi Abdillah 5:14am Aug 3
setahu ane aj ya gan.. kalo update atau delete gak perlu pake fungsi itu.. mungkin sih buat ngecek kondisi.. tapi itu juga gak perlu..

Cyntha L Fagha 5:17am Aug 3
iya untuk pengecekan data yg mau di update/delete

Ramadhan Syah 5:18am Aug 3
:o

itu d lakukan ktika sebelum melalukan update dan delete,
maka d lakukan query_cek _data :3

tp kyk nya pertanyaan TS salah deh , (maklum e=ane newbie)

Vulner Hunter 5:38am Aug 3
dulu inget lho...
sekarang lupa :v

Cyntha L Fagha 5:40am Aug 3
syntaxnya gn
ada inputan dari user berupa kelas n jurusan
$kelas=$_POST['kelas'];
$jurusan=$_POST['jurusan'];

$query="select id_jurusan from jurusan where nama_jurusan='$jurusan'";
$result=mysql_query($query);
$row=mysql_fetch_array($result);
$id_jurusan=$row['id_jurusan'];

ternyata errornya di syntax where nama_jurusan='$jurusan'
guys ada yg tau dr pemecahannya?

Febrinanda Endriz Pratama 5:40am Aug 3
rasanya untuk update sama delete gak terlalu peru pake fungsi itu deh TS. Kalo gak salah ya :D

Cyntha L Fagha 5:41am Aug 3
iyah... aq yg salah mbk n mas

Febrinanda Endriz Pratama 5:42am Aug 3
salah penulisan mungkin TS, soa;nya kalo kita nulis itu harus sama dengan yang kita tulis di database nya.

Bhie Phratama 5:46am Aug 3
kmgkinan di variabel jurusanny gan..kslhn pnulisn

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 mas/mbak numpang tanya.. saya punya kasus....

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 mas/mbak numpang tanya.. saya punya kasus....
Aug 3rd 2013, 04:01, by Reza Fauzan

Reza Fauzan 4:01am Aug 3
permisi mas/mbak numpang tanya.. saya punya kasus..
saya mempunyai sebuah form tambah barang secara dinamis..

yg saya ingin tanyakan bagaimana membuat nomor secara urut ketika di klik..
contoh :

No. | Nama | Action
1 | Reza | [tambah]
2 | XXX | [hapus]

ketika di klik tambah otomatis No akan bertambah.. 1,2,3,....dst

yang utk tombol tambah dan hapus sudah bisa, yg belum itu no

Cahya Dsn 4:02am Aug 3
no script hoax, share u'r script here gan ^_^V

Totok BluesMan Silalahi 4:06am Aug 3
wkwkw

Ardiansyah Putra 4:07am Aug 3
NO SCRIPT = HOAX

Reza Fauzan 4:07am Aug 3
$(document).ready(function() {
$("#tambah").click(function() {
$("<tr>" + $("#barang").html() + "</tr>").insertBefore("#last");
$(".ganti").change(function() {
var ganti = $(this).val();
var gt = $(this);
$.ajax({
url: "proses/cek_barang.php",
data: "ganti=" + ganti,
success: function(data) {
datanya = data.split("|");
gt.parent().parent().find(".nama").val(datanya[0]);


}
});
});

})
});

saya pakai ajax+jquery utk tambah barang..
ini tabel barang

<table class="table table-bordered" style="margin-left: -10px; width: 100%;">
<thead>
<tr><th style="text-align: center;">No.</th>
<th style="text-align: center;">Kode Barang</th>
<th style="text-align: center;">Nama Barang</th>

<th style="text-align: center; ">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td> //ini yg jd masalah...
<td><input type="text" class="ganti" name="id_barang[]" value="00000000" style="width: 140px;"></td>
<td><input type="text" class="nama" name="nama[]"></td>

<td style="text-align: center; "><a class="btn btn-success btn-small" href="javascript:;" id="tambah"><i class="icon-plus-sign icon-white"></i> Tambah</a></td>
</tr>

<tr id="barang" class="barang" style="display: none;">
<td>1</td> //ini yg jd masalah...
<td><input type="text" class="ganti" name="id_barang[]" value="00000000" style="width: 140px;"></td>
<td><input type="text" class="nama" name="nama[]"></td>

<td style="text-align: center; "><a class="btn btn-danger btn-small" href="javascript:;" onClick="javascript:$(this).parent().parent().remove()"><i class="icon-remove-sign icon-white"></i> Hapus</a></td>
</tr>
<tr id="last"></tr>
</tbody>
</table>

<button type="submit" class="btn btn-primary">Submit</button>
</form>

Yogi Ramdani 4:07am Aug 3
d view.php nya pke pas d while bikin aray untuk nomor.a !

Cahya Dsn 4:13am Aug 3
[oot] secara javascript (dlm hal ini jquery) bisa gunakan satu variabel global (js) untuk nomornya, buat input type='text' dengan attribut disabled='disabled' dan nama='no[]' yang value-nya ngambil dari increment dari variabel global yang dibuat(diincrement saat tombol 'tambah' ditekan) .. mangap ane gak jago koding jadi koming aja ^_^V

Totok BluesMan Silalahi 4:14am Aug 3
coba gunakan jquery utk membaca isi kolom nomor pd tr terakhir

$("namatabel tbody tr:last td:eq(0)").text();

dgn ini bisa didapat no terakhr sblm input data baru

Cahya Dsn 4:19am Aug 3
tapi perlu diingat, mungkin perlu diganti mekanisme penambahan elementnya.. tidak dengan
$("<tr>" + $("#barang").html() + "</tr>").insertBefore("#last");

mungkin dengan append() atau setidaknya digenerate dulu element2 yang mo ditambahkan agar nomornya terupdate dulu, baru dilakukan proses penambahan element di tag table-nya cmiiw ^_^V

Willy 4:42am Aug 3
Kemaren saya sempat bikin fiddlenya ini hehe

http://jsfiddle.net/willypt/J5YPr/8

perhatikan cara numbering saya hehe...
maaf masih nubi :v

edit: sori,. tadi salah kasi revision :3

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: ::Ask Ada yang pernah membuat Script atau Literat...

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/ 
::Ask Ada yang pernah membuat Script atau Literat...
Jul 29th 2013, 03:01, by Soegi Null

Soegi Null 3:01am Jul 29
::Ask

Ada yang pernah membuat Script atau Literatur tentang koneksi Database

Jadi Ketika Database dari Localhost sudah tersimpan, kemudian ada sebuah aplikasi

yang dilempar ke Database Hosting

Gunawan Mujur Wibisono 3:15am Jul 29
tapi database hosting suka ngak mau ngasi password akses dari luar.. kecuali ... hehehe.. mendadak dapet ide.. tp liat aja di Ask 2 Answer - PHP ya

Suwondo 6:05am Jul 29
diakali pake cURL

Soegi Null 11:58am Jul 29
Suwondo : ada referensi kah yang sudah pernah uji coba

Soegi Null 4:02am Aug 3
Terima Kasih Atas Postingnya
Okay gan saya uda bisa post lewat localhost dan tersimpan di database Hosting dengan memakai CURL
=========================
$curlHandle = curl_init();
curl_setopt($curlHandle, CURLOPT_URL, $url);
curl_setopt($curlHandle, CURLOPT_HEADER, 0);
curl_setopt($curlHandle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curlHandle, CURLOPT_TIMEOUT,30);
curl_setopt($curlHandle, CURLOPT_POST, 1);
curl_exec($curlHandle);
curl_close($curlHandle);
========================
Tapi sementara komputer Local harus nyambung ke internet terlebih dahulu ...

Gunawan Mujur Wibisono 4:45am Aug 3
emang hrs connect :(

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 para master php. ane masih newbee nie. ada...

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 para master php. ane masih newbee nie. ada...
Jul 30th 2013, 00:56, by Ben Amos

Ben Amos 12:56am Jul 30
permisi para master php. ane masih newbee nie.
ada yg contoh script php untuk print data dari tabel database gaa??
atau link googlenya jga boleh.

Soegi Null 3:58am Aug 3
Data yang didatabase dikeluarkan dulu, membuat sebuah form terlebih dahulu, kemudian dengan <body onload="print"> </body>
itu nanti bisa langsung cetak

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: Koding untuk nampilin list yang isi listnya ...

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/ 
Koding untuk nampilin list yang isi listnya ...
Aug 3rd 2013, 04:28, by Delfrinando Pranata

Delfrinando Pranata 4:28am Aug 3
<ASK>
Koding untuk nampilin list yang isi listnya itu secara acak dan diambil dari database gimana ya? Mohon Bantuannya

Totok BluesMan Silalahi 4:31am Aug 3
ketika dipilih salah satu isi list, maka tampil data2 yg terkait list yg dipilih? begitu kah?

Delfrinando Pranata 4:32am Aug 3
bukan, yang tampil semuanya, tapi urutannya acak. gitu :D

Totok BluesMan Silalahi 4:34am Aug 3
data apa yg mau ditampilkan? pasti db nya dah dibuat ya?

Delfrinando Pranata 4:34am Aug 3
uda

Delfrinando Pranata 4:34am Aug 3
udah

Andri Slamet Murianto 4:34am Aug 3
di perintah sqlnya ORDER BY RAND()

Arif Susanto 4:34am Aug 3
pakek random aja

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: [ask] nanya donk ^_^ cara ngebuat pointer seperti ...

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/ 
[ask] nanya donk ^_^ cara ngebuat pointer seperti ...
Aug 3rd 2013, 03:15, by Imaditra Aldy

Imaditra Aldy 3:15am Aug 3
[ask]
nanya donk ^_^
cara ngebuat pointer seperti gmaps gmana yah..
jadi titik2 merahnya bisa diklik trus muncul pointernya..
mohon bantuannya :Dv

Totok BluesMan Silalahi 3:28am Aug 3
maksudnya bila di klik pointer atau markernya? atau ketika di klik salah satu lokasi di peta di klik, keluar pointer markernya?

Imaditra Aldy 3:37am Aug 3
kurang lebih gtu mas..
sya ndak tahu itu namanya apa yg ditunjuk ma arah panah 4 warna merah

Totok BluesMan Silalahi 3:44am Aug 3
namanya marker, coba cari di google ttg marker gmap

Imaditra Aldy 3:44am Aug 3
oke mas, tak cari dlu :Dnuwun

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