Sign in to follow this  
mmsbunny

Wanted: An intelligent SPV owner.

Recommended Posts

mmsbunny    0

Could someone please visit

http://mmsbunny.com/det.php

using their SPV and NOT their PC. I'm trying to get the full http_agent details of the SPV.

I've asked in uk.telecom.mobile and all I get is people visiting using their PC - numpties!

Don't worry - no harm can come to your phone.

Cheers

Jim

PS Will post result.

Share this post


Link to post
Share on other sites
Firaas    0

Seems an almost relevant topic, wrote this code last month in php in case anyone wants to use it, to redirect SPV users to a second URL (Red is what the SPV receives):

<?

list($browser,$browser2,$os,$smartphone) = split(';',$HTTP_USER_AGENT);

$smartphone = ltrim($smartphone);

if ($smartphone == "Smartphone") {

echo "";

} else {

?>

NORMAL CODE GOES HERE

<?

};

?>

Or, if you want a site for SPV and PC without using URL forwarding:

<?

list($browser,$browser2,$os,$smartphone) = split(';',$HTTP_USER_AGENT);

$smartphone = ltrim($smartphone);

if ($smartphone == "Smartphone") {

<?

SPV CODE GOES HERE

?>

} else {

?>

NORMAL CODE GOES HERE

<?

};

?>

and of course if you want to include another PHP page upon SPV request:

<?

list($browser,$browser2,$os,$smartphone) = split(';',$HTTP_USER_AGENT);

$smartphone = ltrim($smartphone);

if ($smartphone == "Smartphone") {

include "SPV.php";

} else {

?>

NORMAL CODE GOES HERE

<?

};

?>

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.