Jump to content

Wanted: An intelligent SPV owner.


Guest mmsbunny

Recommended Posts

Guest mmsbunny

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.

Link to comment
Share on other sites

  • 2 weeks later...

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

<?

};

?>

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.