“IS12T”, It’s only Windows Phone device in Japan.
That’s UserAgent information is this.
Continue reading
“IS12T”, It’s only Windows Phone device in Japan.
That’s UserAgent information is this.
Continue reading

If you need some screen shot the Smart phone’s site. want to with device image. but It’s very hard.
now, “Mobilizer” is very convenience.
If you use Google Chrome on Mac OS. when you want to upload a file.
You can Drag&Drop to the [choose file] button on Google Chrome.

and If you use any Editor software. the icon in the title bar. You can drag too.

It is tiny technique. but Mac OS’s file explorer is a little awkward to use. It is very convenience.
When I start develop with jQuery Mobile. I use this sample.
<!DOCTYPE HTML> <html lang="ja"> <head> <meta charset="UTF-8"> <title>Hash watcher</title> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" /> <script src="http://code.jquery.com/jquery-1.5.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script> </head> <body> <div data-role="page"> <div data-role="header">header</div> <div data-role="content">body</div> <div data-role="footer">footer</div> </div> </body> </html>
jQuery Mobile is from CDN(Contents Delivery Network). and add the “data-role” attribute on the HTML tag.
Let’s start develop the programs.

I add a Facebook’s ‘Like’ button and ‘Send’ button on my blog.
First, I make a code on Send Button page.
but this code can’t with the ‘Like’ button. because ‘Like’ button is made by iframe. display new line.
And I found a ‘Like’ and ‘Send’ buttons widget.
It’s good. I can add a both buttons. very nice.
We made a Web site for PC and Smartphone. want to divide the page by devices. It’s very easy.
We can use the “UserAgent”. for example iPhone4′s agent is…
Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_0 like Mac OS X; en-us) AppleWebKit/532.9 (KHTML, like Gecko) Version/4.0.5 Mobile/8A293 Safari/6531.22.7
Now, We can use the keyword “iPhone”. And Android’s agent is “Android”.
We can get the User agent at “$_SERVER['HTTP_USER_AGENT']” on PHP.
I make the sample program.
if (strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone') !== false) {
// iPhone
} else if (strpos($_SERVER['HTTP_USER_AGENT'], 'Android') !== false) {
// Android
}
That’s all.

I always use the Apple Pages and Numbers when I make some documents. So, I almost without Microsoft Office. but My clients send me some Office documents. and Can’t see on Pages or Numbers.
I use the MS Office only viewer. but It’s very heavy..
so, I found a very nice soft. I’ts ‘Libre Office’.

Hi, I’m TANIGUCHI Makoto. a Web programmer(JavaScript, PHP and more.) in Japan.
I can’t speak English well. but I am studying now.
This blog. My English blog. I’ll write topics to JavaScript(jQuery), PHP, Web technology, digital gadgets..
I’m sorry very poor English. Please teach me the wrong sentence.