note 106636 rejected from function.header by thiago

From: Date: Mon, 28 Nov 2011 12:13:39 +0000
Subject: note 106636 rejected from function.header by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184737@lists.php.net to get a copy of this message
Note Submitter: farzad dot private at gmail dot com ---- 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....

« previous php.notes (#184737) next »