NW
Good idea, I even found useful last night when I got in at 2.00am and couldn't be bothered turning on the Computer, though it appeared I didn't miss much, I only had a look in the Granada endcap Thread, though its a page per message, it was quite fast loading, compared to other sites which are usually slow, or either that my Sony Ericsson T610 isn't very good.
DB
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
dbfriends
Founding member
Asa posted:
On a technical note, does anyone know how I can tell whether the person visiting tvforum.co.uk/wap is from a web browser or mobile phone (bbc.co.uk/mobile certainly seems to do it)?
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
AN
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
dbfriends posted:
Asa posted:
On a technical note, does anyone know how I can tell whether the person visiting tvforum.co.uk/wap is from a web browser or mobile phone (bbc.co.uk/mobile certainly seems to do it)?
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
ST
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
He's been far too busy running his media empire. From behind bars.
Steve
Founding member
All New Johnnyboy posted:
dbfriends posted:
Asa posted:
On a technical note, does anyone know how I can tell whether the person visiting tvforum.co.uk/wap is from a web browser or mobile phone (bbc.co.uk/mobile certainly seems to do it)?
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
He's been far too busy running his media empire. From behind bars.
PT
I can't access WAP on my phone - only stupid Vodafone Live rubbish. How do I bypass this? anyone know?
NW
When I start WAP on Orange I get Orange World (which I presume is the Orange equivelent of VL), but my mobile phone (Sony Ercisson T610) has a 'Go To Website' option, which is very handy as I usually go to the BBC's WAP service alot.
nok32uk posted:
I can't access WAP on my phone - only stupid Vodafone Live rubbish. How do I bypass this? anyone know?
When I start WAP on Orange I get Orange World (which I presume is the Orange equivelent of VL), but my mobile phone (Sony Ercisson T610) has a 'Go To Website' option, which is very handy as I usually go to the BBC's WAP service alot.
PT
Mine's also a Sony Ericsson - i'll give it a go.
Edit: It now works, found the enter address option. Very nice design. Weird how latest posts appear on your mobile.
Edit: It now works, found the enter address option. Very nice design. Weird how latest posts appear on your mobile.
DB
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
Ignoring the Steve-o, a combination of new jobs with silly hours, moving house twice and having a load of other stuff to get done meant that I haven't been nosing about here nearly as much - plus pres is all dull at the moment so I haven't been bothering posting about it anyway! But hey, I still lurk fairly frequently, if only to see who's arguing with which troll
dbfriends
Founding member
All New Johnnyboy posted:
dbfriends posted:
Asa posted:
On a technical note, does anyone know how I can tell whether the person visiting tvforum.co.uk/wap is from a web browser or mobile phone (bbc.co.uk/mobile certainly seems to do it)?
I use this code...
<?
if(preg_match("/vnd.wap.wml/",$_SERVER['HTTP_ACCEPT'])){
header("Location: wap/");
exit;
}
else {
// Do something for normal browsers here
}
?>
Done quit a bit of wap programming, including posting and suchlike - lemme know if you want to know anything more
<lurks>
My God, dbfriends is back! Where have you been?
Ignoring the Steve-o, a combination of new jobs with silly hours, moving house twice and having a load of other stuff to get done meant that I haven't been nosing about here nearly as much - plus pres is all dull at the moment so I haven't been bothering posting about it anyway! But hey, I still lurk fairly frequently, if only to see who's arguing with which troll