After try to make my website look good on mobile. I start with no idea to do.
A lot of page on web have a ton of the way to make it's good and easy, But is so complicate to start and not easy
to change my site.
After search for while I found simple way to change my site to look like moblie site.
Just change Header of XHTML from
"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" >"
to
" <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" >"
Oh, That work find for me. It's enough for me in this time.
I will try to do more in future. LoL
I need to check browser is mobile for redirct to moblie compactible page.
A lot of sample was founded in internet. However I have to select sample from 
Ericka Q. Stokes here
http://erikastokes.com/php/how-to-test-if-a-browser-is-mobile.php
This function is great to expand and update in future. I will Try to do.
We can use HTTP-EQUIV="REFRESH" in Header of Html for Redirect your page to other page.
<meta HTTP-EQUIV="REFRESH" content="0; url=http://localhost:8080/index.php" />
content = 0 for adjust time to delay in second.
However, The best way to Redirct Page should set in Web service for more security.
about HTTP-EQUIV="Location" is no longer use in any browser.
<meta HTTP-EQUIV="Location" url=http://localhost:8080/index.php" />
The Sysinternals web site was created by Mark Russinovich and Bryce Cogswell since 1996. I never know this site even I have use Process Explorer long time ago.
When I have decided to update all software tools in my Thumb drive. I have try to search for update of Process Explorer then I found this site. It's have a lot of tools here that make me feel good to back to found some tools to help me on job in future. LOL
Take more time to install and config Apache httpd server without use Appserv.
I found this page
http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml
It may can help me for this time.
.....
After follow instruction on web. I have to add this config to httpd.conf
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
At Last, I add this line.
AddDefaultCharset utf-8
for config apache to use utf-8 for default charset.
I have found some problem when use IIS for develop website by PHP. However, I must use IIS for some project which use ASP.NET. Then I decided to install apache in port 8080 for use to test site under apache.
What problem I have found? It's cannot say that problem. Cos, I don't know how to add httpd service to windows.
After google for minutes I have found that httpd have parameter for install it to windows service.
httpd -k install
But what happen after I have run it on my command prompt, It's say "access denied!!!"
Well, After back from shocking. I remind me, I don't start command prompt as administrator.
after try again.It's work well
I love Its.
After drop all table in database which generate by Networksolutions Hosting tools that contain all latin1 table.
And rebulid new table by change from latin1 to utf8. Now, This blog can post and comment in ไทย Language.
However, I still write this blog in English. ^_^
I don't know why we must set date.timezone in php.ini before use some function in php5.
after add
date.timezone = "Asia/Bangkok"
in php.ini, All work well.
Notepad++ is my favorite tools for edit any source code and text files.
we can download, follow and donate for this tools at
http://notepad-plus-plus.org/
After to take a time to config B2Evolution blog to work with Thai Language follow struture from "blogtika.com" , that not work. Then I thing to try to write this blog to English language and try to find another way later.
This blog is my personal blog for record some of my work and my interest for recognize myself than my note book. Because some time I forgot my noot book and cannot remember any thing in its.
This first time to use B2Evolution and first time to write blog in English Language. Hope I work it well for me and for someone who lost to my blog. ^_^
Recent comments