Rabu, 21 Agustus 2013

PHP Indonesia - Facebook: minta bantuannya sedikit, kasusnya gini: saya puny...

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
minta bantuannya sedikit, kasusnya gini: saya puny...
Aug 22nd 2013, 06:58, by Spirola Vander Elvanuel

Spirola Vander Elvanuel 6:58am Aug 22
minta bantuannya sedikit,
kasusnya gini:
saya punya table surat tugas, yang nanti tugas ini dikerjakan oleh seseorang, tapi kalo orang tersebut lamban, surat tugas tersebut bakal dialihkan ke orang lain (pake surat tugas baru)

nah, sekarang saya butuh untuk mengambil data2 surat tugas yang belum dialihkan saya coba pakai query yang seperti tampak pada gambar, tapi hasilnya tidak sesuai.

mohon bantuan querynya yang bener kayak apa ya 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: numpang nanya gan potongan script 10. $row_user=...

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
numpang nanya gan potongan script 10. $row_user=...
Aug 22nd 2013, 06:34, by Abu Unaisah Setianto

Abu Unaisah Setianto 6:34am Aug 22
numpang nanya gan
potongan script

10. $row_user=mysql_fetch_object($query_user)or die(mysql_error());
11. list($passcode,$nm_user,$id_dep)=$row_user;

kalo di sever yang satu ok, tapi di server yg baru kok gak jalan ya gan
errornya : Fatal error: Cannot use object of type stdClass as array in /dir/ on line 11

apa ada yg harus di setting di php.ini?

Dwi Rano Agustianto 6:38am Aug 22
coba yg line 10 ubah jd
10. $row_user=mysql_fetch_array($query_user)or die(mysql_error());

soalnya mysql_fetch_object harusnya dah deprecated di php yg baru

Nur Hidayat 6:38am Aug 22
dari pada mengubah2 php.ini, coba ganti fungsi mysql_fetch_object menjadi mysql_fetch_array agar varible $row_user berisi array dan bisa digunakan untuk list()

Abu Unaisah Setianto 6:41am Aug 22
wah harus rombank semua script kalo gitu gan
karena semua pake mysql_fetch_object :(

Nur Hidayat 6:46am Aug 22
yang deprecated bukan cuma mysql_fetch_object, tapi semua fungsi dalam library php_mysql, artinya mysql_* semuanya tidak bisa dipakai lagi php 5.5, namun php versi sebelumnya masih aman. kalau mau rombak sebaiknya ubah ke library php_mysqli

sedangkan untuk kasus di atas seharusnya mengganti mysql_fetch_object menjadi mysql_fetch_assoc sudah cukup

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]... hi guys, sorry sedikit nggk nyambung.....

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
...[AsK]... hi guys, sorry sedikit nggk nyambung.....
Aug 22nd 2013, 06:58, by Romdoni Agung

Romdoni Agung 6:58am Aug 22
...[AsK]...
hi guys, sorry sedikit nggk nyambung....

gini gan, ane mau bikin animasi paramount pakai css3
tadi sih udah jadi, tapi hasilnya nggk smoooothhh_
ini code html saya
<div id="start">
<img src="images/guide.png" style="width: 280px; margin-top: -70px; position: absolute;"/>
<img src="images/start.png" id="start-1"/>
</div>

ini code css says
/* start */
#start{
position: absolute;
z-index: 4;
}

img#start-1{
margin-top: 355px;
margin-left: 300px;
position: absolute;
z-index: 5;

animation-name: start-1;
animation-duration: 5s;
animation-delay: 5.8s;
animation-fill-mode: both;

-webkit-animation-name: start-1;
-webkit-animation-duration: 5s;
-webkit-animation-delay: 5.8s;
-webkit-animation-fill-mode: both;
}

@keyframes start-1{
0%{
margin-top: 355px;
margin-left: 300px;
}
8.8%{
margin-top: 310px;
margin-left: 200px;
width: 120px;
}
16.16%{
margin-top: 265px;
margin-left: 110px;
width: 100px;
}
24.24%{
margin-top: 200px;
margin-left: 40px;
width: 90px;
}
42.42%{
margin-top: 125px;
margin-left: 20px;
width: 75px;
}
50.50%{
margin-top: 60px;
margin-left: 35px;
width: 60px;
}
58.58%{
margin-top: 30px;
margin-left: 80px;
width: 50px;
}
66.66%{
margin-top: 40px;
margin-left: 135px;
width: 40px;
}
74.74%{
margin-top: 70px;
margin-left: 170px;
width: 35px;
}
82.82%{
margin-top: 110px;
margin-left: 185px;
width: 30px;
}
.60%{
margin-top: 144px;
margin-left: 178px;
width: 29px;
}
85%{
margin-top: 165px;
margin-left: 152px;
width: 27px;
}
90%{
margin-top: 157px;
margin-left: 120px;
width: 26px;
}
95%{
margin-top: 139px;
margin-left: 100px;
width: 24px;
}
100%{
margin-top: 117px;
margin-left: 100px;
width: 20px;
}
}

/* Safari and Chrome */
@-webkit-keyframes start-1 {
0%{
margin-top: 355px;
margin-left: 300px;
}
8.8%{
margin-top: 310px;
margin-left: 200px;
width: 120px;
}
16.16%{
margin-top: 265px;
margin-left: 110px;
width: 100px;
}
24.24%{
margin-top: 200px;
margin-left: 40px;
width: 90px;
}
42.42%{
margin-top: 125px;
margin-left: 20px;
width: 75px;
}
50.50%{
margin-top: 60px;
margin-left: 35px;
width: 60px;
}
58.58%{
margin-top: 30px;
margin-left: 80px;
width: 50px;
}
66.66%{
margin-top: 40px;
margin-left: 135px;
width: 40px;
}
74.74%{
margin-top: 70px;
margin-left: 170px;
width: 35px;
}
82.82%{
margin-top: 110px;
margin-left: 185px;
width: 30px;
}
.60%{
margin-top: 144px;
margin-left: 178px;
width: 29px;
}
85%{
margin-top: 165px;
margin-left: 152px;
width: 27px;
}
90%{
margin-top: 157px;
margin-left: 120px;
width: 26px;
}
95%{
margin-top: 139px;
margin-left: 100px;
width: 24px;
}
100%{
margin-top: 117px;
margin-left: 100px;
width: 20px;
}
}

thx

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 tanya gan, ada yang pernah buat sistem sil...

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/ 
Geek Squad from Best Buy

Get instant online support. We can fix computers, cameras, car technology and more. Talk to us today.
From our sponsors
numpang tanya gan, ada yang pernah buat sistem sil...
Aug 22nd 2013, 06:41, by Muhibudin Hanif Jundulloh

Muhibudin Hanif Jundulloh 6:41am Aug 22
numpang tanya gan, ada yang pernah buat sistem silsilah keluarga pake php??

Ibnu Faisal 6:46am Aug 22
haha :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: [ask | error] Warning: Cannot modify header inform...

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/ 
Mobile Game Development Course

Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.
From our sponsors
[ask | error] Warning: Cannot modify header inform...
Aug 22nd 2013, 05:10, by Caca Aja

Caca Aja 5:10am Aug 22
[ask | error]
Warning: Cannot modify header information - headers already sent by (output started at D:\data_project\punyaku\media.php:8) in D:\data_project\punyaku\menu1.php on line 9

error di atas maksudnya apa ya abang2?...

Gunawan Mujur Wibisono 5:15am Aug 22
periksa file media.php
btw.. coba nama foldernya jgn ditulis punyaku..

Caca Aja 5:18am Aug 22
if ($_GET[module]=='data'){
echo "<li><a href=?module=data&name=barang>Barang</a></li>";
header('location:media.php?module=data&name=barang'); //LINE 9
}
kan salahnya di line 9 bang,kalo dihapus ga muncul warning
kenapa ya?...

Dicky Kurniawan 5:20am Aug 22
Caca Aja : setelah </li> kok nggak ada petik penutup & titik koma?

Adi Irawan 5:29am Aug 22
bang Gunawan Mujur Wibisono, sepertinya penamaan folder itu menunjukkan level programmer :D

Cahya Dsn 5:30am Aug 22
dibaris 8 sudah ada output yang dikeluarkan sebagai respon dari server ke client dengan perintah echo ".."; sehingga function header() tidak bisa dijalankan

Mas Joe 5:39am Aug 22
Mau di echo, atw mau di header? Salah 1 aja

Caca Aja 5:45am Aug 22
Mas Joe@ tetep bang, masih error walaupun dipilih salah satu ajah...
Cahya Dsn@harus dihilangkan salah satu ya bang, tapi kalo fungsi header diletakkan di index.php ko bisa jalan?...

Gunawan Mujur Wibisono 5:50am Aug 22
penamaan punyaku.. kesannya itu prog punya org lain..

Cahya Dsn 5:52am Aug 22
" tapi kalo fungsi header diletakkan di index.php ko bisa jalan?..."

..selama tidak ada output apapun yang dikirimkan sebagai respon dari request client oleh server, maka dari file apapun juga bisa gunakan function header(); coba kalo meskipun di index.php, sebelum header(); di tambahkan satu baris semisal echo ""; .. harusnya function header() tidak bisa dijalankan cmiiw ^_^V

intinya bukan pada file index.php atau bukan tapi lebih pada ada output yang sudah dikeluarkan/dikirimkan terlebih dahulu sebelum function header() itu dipanggil ato tidak

Agus Waluyo 5:52am Aug 22
Fungsi header gakbisa jalan kalau ada echo diatasnya.

Caca Aja 5:59am Aug 22
Cahya Dsn@yupz, udah agak mulai terang nih otak...walaupun masih mendung...hahah
thanx abang2..(y)

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: assalamu'alaikum...saya coba buat agar logo tsb be...

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/ 
Design-Led Engineering

Sourcebits - When your Mobile App has to be absolutely developed right. We've built more than 20 apps that have cracked the Top 10 in the App Store.
From our sponsors
assalamu'alaikum...saya coba buat agar logo tsb be...
Aug 22nd 2013, 05:56, by Budiman Ibenx Thea

Budiman Ibenx Thea 5:56am Aug 22
assalamu'alaikum...saya coba buat agar logo tsb berkilau tp yg terjadi kok posisi nama sekolah yg tadinya disamping logo jadi berubah yah? ada yg mau bantu?

Fikri Handa Herriansyah 5:58am Aug 22
logonya udah float:left ?

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: makasih confirm nya gan...ane lagi belajar...

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/ 
LSAT prep from HLS-educated instructors

LSATMax includes video lessons, unlimited personal attention & support, and over 6,000 real questions from previous LSAT's. Enroll for just $299.
From our sponsors
makasih confirm nya gan...ane lagi belajar...
Aug 22nd 2013, 00:36, by Edy Yakob Putra Sinaga

Edy Yakob Putra Sinaga 12:36am Aug 22
makasih confirm nya gan...ane lagi belajar...

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: salam kenal sahabat php indonesia :D sekalian newb...

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/ 
Geek Squad from Best Buy

Get instant online support. We can fix computers, cameras, car technology and more. Talk to us today.
From our sponsors
salam kenal sahabat php indonesia :D sekalian newb...
Aug 22nd 2013, 00:44, by Said Qineu Blankenship

Said Qineu Blankenship 12:44am Aug 22
salam kenal sahabat php indonesia :D
sekalian newbie mau nnya :) semoga di perkenankan, minta bantuannya untuk para master

saya punya data subject email:
1. aaaaaaaaaaaaaaa
2. bbbbbbbbbbbbbbb
3. cccccccccccccccccc
4. ddddddddddddddd

dan dengan code email seperti dibawah ini

<?php
$arr = array('1. aaaaaaaaaaaaaaa,'2. bbbbbbbbbbbbbbb','3. cccccccccccccccccc','4. ddddddddddddddd');
foreach ($arr as $value) {
$mailbody="$value\n\n";
mail("emailgmeil@gmail.com", "title subject", "$mailbody", "From: Myself<me@myself.com>");
echo "<p>$value</p>";
}
?>

dengan kode diatas data 1 - 4 terkirim semua dalam satu waktu :( padahal saya ingin membuat kode yang bisa mengirimkan data 1-4 satu persatu setiap 60 menit
jadi
outputnya nanti 60 menit pertama mengirimkan
1. aaaaaaaaaaaaaaa
kemudian 60 menit ke dua baru
2. bbbbbbbbbbbbbbb
dan 60 menit ke tiga baru mengirimkan subject
3. cccccccccccccccccc
dan selanjutnya ......

maaf newbie :D bertanya

Yongki Agustinus 12:47am Aug 22
pake cronjob aja, bikin file php untuk kirim email trus setting cronjob untuk kirim subject 1 per 60 menit, 2 per 120 menit, 3 per 180 menit, 4 per 240 menit

Said Qineu Blankenship 12:50am Aug 22
saya gunain cron job tapi kode sama seperti itu, al hasil sama saja om
padahal data yang ada lebih dari 100
kalau 1 persatu terlalu banyak cronjobnya om :(

Yongki Agustinus 12:52am Aug 22
ya 1 aja cronjobnya, data/emailnya simpen di database gan,
misalnya file yang di execute no. 1
email.php?subject=1, yang kedua subject=2
ntar kirimnya kan tinggal pake while aja untuk kirim ke 100 emailnya

Nusantara Prasetya Wijaya 12:53am Aug 22
ya pake variabel yang disimpan di file saja.... jadi nanti setiap jalankan perintah phpnya, cek sequencenya sudah keberapa, setelh mengirimkan email, file counternya dinaikkan satu

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