php question
php question
Out of context: Reply #7
- Started
- Last post
- 8 Responses
- BattleAxe0
use this script at the top of the page that gets linked to.
so qr tag goes to detect.php with the php code from this site
http://www.kevinleary.net/mobile…
then in each condition put a new header redirect to each systems specific page
ie
if( stristr($_SERVER['HTTP_USER_AGEN... ) {
$device = "ipad";
header('Location: http://www.example.com/');
}