Posted by Quimby Melton on February 28, 2007
Look at the hyper/boʊl/e tagline. Notice anything new?
As of 2/24/07, Studio Hyperset, “Inc.” is an officially chartered Nevada corporation (#E0128422007-4).
Our officer list is as follows, and we’ll have our first board meeting this summer in Las Vegas:
Much more soon.
Posted in News and Events | Leave a Comment »
Posted by Quimby Melton on February 5, 2007
The popularity of the Studio Hyperset Mobile Redirection PHP script has created many comments and postings. Rather than continue to update each page in the conversation with a link to further discussions, SH decided to make this index. On each new discussion posting (and now on all the old ones), a link to this index will be/has been posted so that users can browse all the relevant postings no matter what specific post they happen to load.
On this index page, I’ll also post a link to the most current version of the script for ease of access to it.
This should help keep things better organized.
Keep the comments and suggestions coming!
CURRENT SCRIPT(S) (2/5/06)
DISCUSSION INDEX:
Posted in Professional Development | 23 Comments »
Posted by Quimby Melton on February 5, 2007
For an up-to-date list of posts/comments on this topic and a link to the most current version of the script(s), visit the MOBILE REDIRECT CODE DISCUSSION INDEX.
Thanks to a tip from Ralph, add this code to the very top of your .php homepage (above the page declaration: <!DOCTYPE … ) to redirect users to a mobile version of your website or use a PHP include like this:
<?php include (‘FULL PATH TO .PHP FILE’); ?>
I’ve also added the code to the updated version of the mobile redirect code bundle (mobile2.php). Download the bundle here.
Here’s the code:
<?php
$mobile = “YOUR MOBILE SITE HERE”;
$text = $_SERVER['HTTP_USER_AGENT'];
$var[0] = ‘Mozilla/4.’;
$var[1] = ‘Mozilla/3.0′;
$var[2] = ‘AvantGo’;
$var[3] = ‘ProxiNet’;
$var[4] = ‘Danger hiptop 1.0′;
$var[5] = ‘DoCoMo/’;
$var[6] = ‘Google CHTML Proxy/’;
$var[7] = ‘UP.Browser/’;
$var[8] = ‘SEMC-Browser/’;
$var[9] = ‘J-PHONE/’;
$var[10] = ‘PDXGW/’;
$var[11] = ‘ASTEL/’;
$var[12] = ‘Mozilla/1.22′;
$var[13] = ‘Handspring’;
$var[14] = ‘Windows CE’;
$var[15] = ‘PPC’;
$var[16] = ‘Mozilla/2.0′;
$var[17] = ‘Blazer/’;
$var[18] = ‘Palm’;
$var[19] = ‘WebPro/’;
$var[20] = ‘EPOC32-WTL/’;
$var[21] = ‘Tungsten’;
$var[22] = ‘Netfront/’;
$var[23] = ‘Mobile Content Viewer/’;
$var[24] = ‘PDA’;
$var[25] = ‘MMP/2.0′;
$var[26] = ‘Embedix/’;
$var[27] = ‘Qtopia/’;
$var[28] = ‘Xiino/’;
$var[29] = ‘BlackBerry’;
$var[30] = ‘Gecko/20031007′;
$var[31] = ‘MOT-’;
$var[32] = ‘UP.Link/’;
$var[33] = ‘Smartphone’;
$var[34] = ‘portalmmm/’;
$var[35] = ‘Nokia’;
$var[36] = ‘Symbian’;
$var[37] = ‘AppleWebKit/413′;
$var[38] = ‘UPG1 UP/’;
$var[39] = ‘RegKing’;
$var[40] = ‘STNC-WTL/’;
$var[41] = ‘J2ME’;
$var[42] = ‘Opera Mini/’;
$var[43] = ‘SEC-’;
$var[44] = ‘ReqwirelessWeb/’;
$var[45] = ‘AU-MIC/’;
$var[46] = ‘Sharp’;
$var[47] = ‘SIE-’;
$var[48] = ‘SonyEricsson’;
$var[49] = ‘Elaine/’;
$var[50] = ‘SAMSUNG-’;
$var[51] = ‘Panasonic’;
$var[52] = ‘Siemens’;
$var[53] = ‘Sony’;
$var[54] = ‘Verizon’;
$var[55] = ‘Cingular’;
$var[56] = ‘Sprint’;
$var[57] = ‘AT&T’;
$var[58] = ‘Nextel’;
$var[59] = ‘Pocket PC’;
$var[60] = ‘T-Mobile’;
$var[61] = ‘Orange’;
$var[62] = ‘Casio’;
$var[63] = ‘HTC’;
$var[64] = ‘Motorola’;
$var[65] = ‘Samsung’;
$var[66] = ‘NEC’;
$result = count($var);
for ($i=0;$i<$result;$i++)
{
$ausg = stristr($text, $var[$i]);
if(strlen($ausg)>0)
{
header(“location: $mobile”);
echo ‘<BR>Mobiles Geraet erkannt/mobile device detected<BR>’;
break;
}
}
?>
Many thanks, Ralph.
Posted in Professional Development | 18 Comments »