Mobile Redirect Code Update

Subscribe

DEPRECIATED – For an up-to-date version of the Studio Hyperset PHP mobile redirect script, please visit SH‘s Google code project site. To read more about the script, please visit this hyper/boʊl/e post and the mobile redirect code discussion index.

Thanks to a helpful hint from Danielle, the following code strings need to be inserted into the mobile.php code previously discussed.

$_SERVER['HTTP_USER_AGENT']=='SAMSUNG-SGH-D900') {
header("location: $mobile"); } elseif(
$_SERVER['HTTP_USER_AGENT']=='SAMSUNG-SGH-D900/1') {
header("location: $mobile"); } elseif(

This will ensure the automatic redirection of Samsung D900 devices.

I’m still having trouble redirecting Blackberry devices so anyone wishing to post a suggestion or email it to [email protected] is most welcome to do so.

Build great relationships with your customers and teammates

Download this eBook

    Learn how effective communication systems can help you build great relationships with customers and teammates.

Posted in "Métier."

Tags:

Quimby Melton

Founder/President

Quimby is the founder and president of Studio Hyperset. He started Studio Hyperset in 2006 after studying Transatlantic literature and culture, new media, and humanities computing at the Universities of Georgia (AB, 00) and Nevada, Las Vegas (MA, 03; PhD, 08). He has a background in literary studies, media production, front-end development, and project management. His current primary duties involve helping clients frame solutions that meet their needs; scoping and managing Studio Hyperset's growth strategy and business development pipeline; finding and developing talent; and, most importantly, supporting the SH team.