Archive for the ‘WML-WAP’ Category

Opera Mini - Online Version

Monday, December 18th, 2006

I was looking for a good WAP browser that can really act as a mobile browser. I looked at Nokia’s homepage and found a giant size program, and it’s not a choice. So I went to my favorite browser’s homepage to see if there’s any downloadable version of Opera Mini™.

Not so lucky but I found an online version of Opera Mini™!!

It act as if it’s installed on mobile handheld. And it fit my need! Yeah, everyone should give it a try. Well, FYI, I don’t have mobile phone with Java so I can’t install this on mine. The only choice is to use online version of Opera Mini™.

Er.. you need JRE installed on your PC to use online version of Opera Mini™.

 

Detecting WAP/WML or Web/HTML Browser

Wednesday, October 18th, 2006

I use this little script to detect what browser is being used by the visitor. Is it web browser or WAP browser. Yes, I want my domain accessible by two kind of browser and redirect them to the specific page (ie. web or WAP).

So if visitor open my homepage using web browser (Opera, Firefox, Safari, Internet Explorer, Kameleon, Konqueror, Flock, etc), he will be brought to a web page. Otherwise, if he open my homepage using WAP browser (browser on cellular phone), he will be redirected into a specific page designed for tiny screen.

Here is the script, I write as index.php and put it in the root directory of my homepage. It might be public_html, www, htdocs or whatever it named.

if(eregi("text/vnd.wap.wml",$_SERVER['HTTP_ACCEPT'])){
header('Location: ./wap/');
}
else{
header('Location: ./web/');
}
?>

For your information, directory wap/ is place for my WML scripts and web/ is place for my HTML and PHP scripts.