Sabtu, 20 Juli 2013

PHP Indonesia - Facebook: gan tanya gan.. soal si dedek cookie.. #jadilaper ...

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. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
gan tanya gan.. soal si dedek cookie.. #jadilaper ...
Jul 20th 2013, 22:18, by Slamet Aprilianto

Slamet Aprilianto 10:18pm Jul 20
gan tanya gan.. soal si dedek cookie.. #jadilaper
kenapa setcookie('testKueh','Berhasil, Cookies :3?',3600) gak bisa ya.. :(( padahal ne cba setcookie('testKueh','Berhasil, Cookies :3?') bisa tampil waktu dipanggil pake $_COOKIE['testKueh']

Gunawan Mujur Wibisono 10:35pm Jul 20
km hrs refresh halaman dulu

Mochammad Yusuf Apriyadi 10:36pm Jul 20
klo perlu bersihkan cache browser

Slamet Aprilianto 11:00pm Jul 20
udah tp gak bisa

<?php
$exp = 60*60*10;
if(!isset($_COOKIE['testKueh'])){
setcookie('testKueh','tanpa expr time');
}
if(!isset($_COOKIE['testKuehGagal'])){
setcookie('testKuehGagal','dengan exp time',$exp);
}
var_dump($_COOKIE);
?>

result
array(1) { ["testKueh"]=> string(15) "tanpa expr time" }

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