Sabtu, 31 Agustus 2013

PHP Indonesia - Facebook: selamat sore , saya mau tanya nih.. saya punya 2 w...

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
selamat sore , saya mau tanya nih.. saya punya 2 w...
Aug 31st 2013, 10:22, by ทั้งหมด ย้าย

ทั้งหมด ย้าย 10:22am Aug 31
selamat sore , saya mau tanya nih.. saya punya 2 website , yg 1 desktop yg satu mobile , nah pertanyaaan saya disini gmn biar otomatis pengguna desktop larinya ke website desktop dan sedangkan pengguna mobile/ponsel larinya ke situs mobilenya . trims.

Awasnerakabocor Duniajadipanas 10:23am Aug 31
#nyimak . ?

Rai Thunderjet 10:28am Aug 31
browser detect agent

Al Ghurahy 10:28am Aug 31
salah satu cara yg simple pake $_SERVER["HTTP_USER_AGENT"] dg if.

Firza Aditya Primandani 10:30am Aug 31
pake javascript jg bisa kok :)

سهل وهي وردنا 12:00pm Aug 31
<?php
$iphone = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone");
$android = strpos($_SERVER['HTTP_USER_AGENT'],"Android");
$palmpre = strpos($_SERVER['HTTP_USER_AGENT'],"webOS");
$berry = strpos($_SERVER['HTTP_USER_AGENT'],"BlackBerry");
$ipod = strpos($_SERVER['HTTP_USER_AGENT'],"iPod");

if ($iphone || $android || $palmpre || $ipod || $berry == true) {
header('Location: http://site.tld/mobile/');
}
?>

Al Ghurahy 12:14pm Aug 31
yg perlu jg gak hanya agent nya, tp ukuran layar.. krn erat skali dg hasil tampilan di pengguna..

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