Selasa, 06 Agustus 2013

PHP Indonesia - Facebook: Gan Mau Nanya : Gimana ya klw kita mau redirect ke...

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 Mau Nanya : Gimana ya klw kita mau redirect ke...
Aug 7th 2013, 05:57, by Ibnurrizal

Ibnurrizal 5:57am Aug 7
Gan Mau Nanya :
Gimana ya klw kita mau redirect ke file index.php pada subdomain...?

Febrinanda Endriz Pratama 6:00am Aug 7
pake header("Location:index.php");

Chabib Nurozak 6:00am Aug 7
<?php
header("location: my.website.domain");

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: Pertama terimakasi sudah bolehin gabung, bray ' a...

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/ 
Pertama terimakasi sudah bolehin gabung, bray ' a...
Aug 7th 2013, 04:24, by Ar Land

Ar Land 4:24am Aug 7
Pertama terimakasi sudah bolehin gabung,

bray ' ada yang pernah bikin polling yang ingin pertanyaannya ga??

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: Cara Buat Create New Page/Blog Post Gimana Sih Den...

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/ 
Cara Buat Create New Page/Blog Post Gimana Sih Den...
Aug 7th 2013, 04:32, by Edo

Edo 4:32am Aug 7
Cara Buat Create New Page/Blog Post Gimana Sih Dengan PHP ?

Contohnya Gini

http://sphotos-e.ak.fbcdn.net/hphotos-ak-frc3/q71/s720x720/970650_506890869391544_265652606_n.jpg
http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash4/q71/s720x720/1098478_506890962724868_1614425361_n.jpg
http://sphotos-b.ak.fbcdn.net/hphotos-ak-frc1/q71/s720x720/1001581_506891049391526_215408924_n.jpg

Itu Bukan Punya Saya Saya Dapet Dari Gambar Temen

Ricky Orlando Napitupulu 5:01am Aug 7
copy aja index nya trus ganti content nya

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 kalau diluar OUT OF TOPIC(OOT) silahkan dihap...

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 kalau diluar OUT OF TOPIC(OOT) silahkan dihap...
Aug 7th 2013, 04:43, by Ari Yanto

Ari Yanto 4:43am Aug 7
maaf kalau diluar OUT OF TOPIC(OOT) silahkan dihapus admin kalau tidak berkenan, tahun depan tempat saya bekerja(PMA) ingin mengganti Codeigniter(sudah 2 thn CI dan familiar),kami diberi 2 pilihan yang akan kami harus kembangkan dan telah ditentukan oleh pihak user yaitu Jelix Framework dan Nooku Framework, adakah diforum ini master2 atau siapa aja pernah memakai framework tersebut,trims
1.http://www.nooku.org/ dan 2. http://jelix.org/

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 gan mau nanya gimana cara menampilkan pil...

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 gan mau nanya gimana cara menampilkan pil...
Aug 7th 2013, 03:46, by Septi Indri

Septi Indri 3:46am Aug 7
permisi gan mau nanya
gimana cara menampilkan pilihan yang dipilih oleh user di querynya beda2 tiap pilihan

misal jika
1. milih name maka nampil (nim,nama)
2. milih nama maka nampil (nim,nama,alamat,sex)

make query ane ini gan..
hasilnya masih menampilkan dalam satu pilihan..
di $hasilnya..

#nyari2 digoogle lum nih gan
makasih sebelumnya master2 php indonesia
----------------------------------------------------------
<?php

$bagianWhere = "";

// jika NIM termasuk kategori pencarian

if (isset($_GET['nim'])) $nim = $_GET['nim'];

if (empty($bagianWhere) && empty($bagianParam))
{
$bagianWhere .= "nim = '$nim'";

}

// jika NAMA MAHASISWA termasuk kategori pencarian

if (isset($_GET['namamhs'])) $namamhs = $_GET['namamhs'];

if (empty($bagianWhere) )
{
$bagianWhere .= "namamhs LIKE '%$namamhs%'";

}
else
{
$bagianWhere .= " AND namamhs LIKE '%$namamhs%'";

}

$query = "SELECT * FROM mhs WHERE ".$bagianWhere;

$hasil = mysql_query($query);

// menampilkan data

echo "<table border='1'>";
echo "<tr><td>NIM</td><td>Nama Mahasiswa</td><td>Alamat</td><td>Jenis Kelamin</td></tr>";
while ($data = mysql_fetch_array($hasil))
{
echo "<tr><td>".$data['nim']."</td><td>".$data['namamhs']."</td><td>".$data['alamat']."</td><td>".$data['sex']."</td></tr>";
}
echo "</table>";

?>

Harry Hank 3:48am Aug 7
Kenapa di pisah gan.bukanya menghasilkan view yang hampir sama.

Septi Indri 3:50am Aug 7
ini contohnya gan,, soale ane butuh thu mengatasi problem coding ane.. bisa bantu Harry Hank

Harry Hank 3:52am Aug 7
Membuat model pencarian kah ?.

Septi Indri 3:52am Aug 7
iya.. O:) na hasilnya thu pengen beda2 gimna caranya ?

Harry Hank 3:53am Aug 7
Kalau saya tangkap jika pencarian atas nim lakukan query 1 jika nama lakukan query 2. Kenapa ngk dalam satu query saja. Jadi mau mencari atas nim atau nama ngk masalah.

Harry Hank 3:54am Aug 7
Apakah kira2 berdasarkan logika di atas.?

Septi Indri 3:56am Aug 7
$querynya satu: cuma yang dibedakan hasil outputnya aja ! jadi bisa mencari pencarian nim saja, atau nama saja.. gimana thu ?

Boho NAibaho 4:05am Aug 7
Kalau ingin output nya brbeda seharusnya kan dibagian tampil data lakukan pengecekan lg apakah brdasarkan nim atau nama. sekilas saya baca kode diatas querynya 2 tapi tampil datanya cuma 1.

Harry Hank 4:05am Aug 7
Dulu pernah bikin kayak gituan.
If nim
{
Proses query langsung tampil.
}
Else {
Proses query langsung tampil }
jadi satu proses jika langsung di view.kalau seperti bisa tampil.tapi ada nya pemborosan view alias mubazir bikin 2viewnya.
Solusi lain :
masukin kedalam array dulu baru di proses. Mungkin om2 lain ada solusi. Kalau mau mudah gunakan operator or saja :-)

Boho NAibaho 4:07am Aug 7
Kalau ingin output nya brbeda seharusnya kan dibagian tampil data lakukan pengecekan lg apakah brdasarkan nim atau nama. sekilas saya baca kode diatas querynya 2 tapi tampil datanya cuma 1.

Septi Indri 4:07am Aug 7
iya kalan modelnya kya gitu bisa, cari yang lebih efisien..

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: adakah kawan2 ada yang tahu tutorial penggunaan co...

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/ 
adakah kawan2 ada yang tahu tutorial penggunaan co...
Aug 7th 2013, 03:40, by Muhammad Hendra

Muhammad Hendra 3:40am Aug 7
adakah kawan2 ada yang tahu tutorial penggunaan composer di wamp - window7 ?
thanks :)

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: kira2 kode apa ja yach yg sering digunakan securit...

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/ 
kira2 kode apa ja yach yg sering digunakan securit...
Aug 7th 2013, 03:53, by Cantika Dwi Permana

Cantika Dwi Permana 3:53am Aug 7
kira2 kode apa ja yach yg sering digunakan security pada php? and mau tanya dunk kalo halaman admin apa perlu dipake security (login admin, input, textarea tinymce (khususnya ini)? makacih

Inan Firmansyah 3:58am Aug 7
xss clean, mysql escape string dkk..perlu dong gan, namanya halaman admin kan dia yg punya hak akses penuh terhadap aplikasi ADMINISTRATOR.....

Muhamad Firdaus Hidayat 4:04am Aug 7
kalo pengen aman,hapus index admin login,ntar kalo mau login pasang lagi,wkwkwkwk :P

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: Ucapan hari raya Idul Fitri ala web developer :p ...

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/ 
Ucapan hari raya Idul Fitri ala web developer :p ...
Aug 7th 2013, 04:06, by Ariadi Jatmiko

Ariadi Jatmiko 4:06am Aug 7
Ucapan hari raya Idul Fitri ala web developer :p

http://alitung.id1945.com/

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:

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/ 
(Untitled)
Aug 7th 2013, 04:09, by Inan Firmansyah

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: misi gan.. ini errornya dimana ya?? ga bisa updat...

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/ 
misi gan.. ini errornya dimana ya?? ga bisa updat...
Aug 7th 2013, 02:27, by Erwin Lukas

Erwin Lukas 2:27am Aug 7
misi gan..
ini errornya dimana ya?? ga bisa update data..

Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer: "" at character 97 in C:\ms4w\

<?php
include "koneksi.php";

$id = pg_escape_string($_POST['isi']);
$data1 = pg_escape_string($_POST['data1']);
$data2 = pg_escape_string($_POST['data2']);
$data3 = pg_escape_string($_POST['data3']);
$data4 = pg_escape_string($_POST['data4']);
$data4 = pg_escape_string($_POST['data5']);

$query = "UPDATE coba1 SET data1='".$data1."',data2='".$data2."',data3='".$data3."',data4='".$data4."',data5='".$data5."' WHERE id='".$id."' ";
$result = pg_query($konek,$query);
if(!$result){
echo "Masukan inputan yang benar...";
}
else{
printf("Data telah disimpan<br><br>");

}

Muhammad Saleh Hafizh Fajri 2:30am Aug 7
$data4 = pg_escape_string($_POST['data4']);
$data4 = pg_escape_string($_POST['data5']); <= data4 apa data5 nama variabelnya????

$query = "UPDATE coba1 SET data1='".$data1."',data2='".$data2."',data3='".$data3."',data4='".$data4."',data5='".$data5."' WHERE id='".$id."' "; <== data5 dipanggl, tapi pas ngambil data dari post g ada defenisi variabel $data5

Erwin Lukas 2:36am Aug 7
eh salah..
benernya ini..

$data4 = pg_escape_string($_POST['data4']);
$data5 = pg_escape_string($_POST['data5']);

$query = "UPDATE coba1 SET data1='".$data1."',data2='".$data2."',data3='".$data3."',data4='".$data4."',data5='".$data5."' WHERE id='".$id."' ";

tp kok masih eror ya??

_query(): Query failed: ERROR: invalid input syntax for integer: "" at character 103

Muhammad Saleh Hafizh Fajri 2:38am Aug 7
id itu integer bukan di database?

Erwin Lukas 2:39am Aug 7
id itu integer.. jadi bgmn??

Muhammad Saleh Hafizh Fajri 2:40am Aug 7
$id = pg_escape_string($_POST['isi']); <==
isi ini datany apa?

Erwin Lukas 2:41am Aug 7
itu isinya id dari form sebelumnya..

Muhammad Saleh Hafizh Fajri 2:43am Aug 7
bukan tanya asal nya dari form mana
tapi tanya isinya apa?string? integer?
kalau string? ya g cocok dengan tipe data kamu didatabase mas

Erwin Lukas 2:44am Aug 7
oh.. heheh...
itu di database typenya serial / integer..

Muhammad Saleh Hafizh Fajri 2:46am Aug 7
tipe bisa 2 gitu? serial serial , integer integer

Erwin Lukas 2:48am Aug 7
bukan..
tipe itu serial ga bisa.. aku ganti integer juga tidak bisa mas..

Muhammad Saleh Hafizh Fajri 2:49am Aug 7
wah ra mudeng aku mas

id itu biasanya integer sih,
kalau isi itu dari form sebelah itu string, bearti kamu tambahin aja mas 1 field namanya isi di tabelnya

Erwin Lukas 2:53am Aug 7
heheh..

udah aku coba barusan.. berhasil.. tp ga masuk ke db.. brarti??

Muhammad Saleh Hafizh Fajri 2:56am Aug 7
querynya dibenerin lagi :)

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: Artikel baru: Teknik Validasi Data pada CakePHP. O...

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/ 
Artikel baru: Teknik Validasi Data pada CakePHP. O...
Aug 7th 2013, 02:59, by Wida Sari

Wida Sari 2:59am Aug 7
Artikel baru: Teknik Validasi Data pada CakePHP. Oleh: Joko Suntoro.

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