note 106636 added to function.header

From: Date: Wed, 23 Nov 2011 18:35:53 +0000
Subject: note 106636 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-184641@lists.php.net to get a copy of this message
hi there! As a complete newb I fail to understand how I can redirect a page depending on the device the user uses to access my page. The scenario is as follows: I link to a specific php-page (via QR-Code). This page should determine which resolution (and/or user-agent) the users' device has and present him with the right version of a video-file (i.e. different resolution files of the .mp4 or .m4v type). So the user should receive an HD-M4V-version if he is using a tablet like an iPad but a very low .mp4-resolution if he's using an old nokia-phone. aaron's note from december 2004 was a little help but I am too unexperienced to convert this into something that suits my needs.... ---- Server IP: 69.147.83.197 Probable Submitter: 79.193.242.4 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/106636 Del: integrated -- https://master.php.net/note/delete/106636/integrated Del: useless -- https://master.php.net/note/delete/106636/useless Del: bad code -- https://master.php.net/note/delete/106636/bad+code Del: spam -- https://master.php.net/note/delete/106636/spam Del: non-english -- https://master.php.net/note/delete/106636/non-english Del: in docs -- https://master.php.net/note/delete/106636/in+docs Del: other reasons-- https://master.php.net/note/delete/106636 Reject -- https://master.php.net/note/reject/106636 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#184641) next »