Jul 20
For PHP, I can read it, modify it, but can not write it, after the World Cup, I intend to make a systematic study of PHP.
The reference book is “PHP and MySQL Web Development 4th Edition” written by Luke Welling and Laura Thomson, this book is known as “PHP Bible” .
As usual, the book briefly introduced what is PHP, MySQL, Why use PHP / MySQL, as well as their strengths and so on, quickly scanned.
Followed by What is new in PHP5:
- Better object-oriented support built around a completely new object model
- Exceptions for scalable, maintainable error and exception handling
- built-in SimpleXML for easy handling of XML data
And key features of PHP 5.3 (At the time of writing, PHP 5.2 was the current version) for example, namespaces (very important) and so on. Continue reading »
May 22
Google has unveiled a Pac-Man doodle to celebrate the game’s 30th anniversary. You can play the game on the Google homepage.
The Logo on the homepage of Google can be used directly as a Pac-Man game to play, to support double and to support keyboard / mouse operation, a total of more than 200 levels.
Here is the online demo provided by Pep for researching and collection. Google owns all rights.
Click “Insert Coin” to start the game, click twice to start the double game, tested OK in IE / FireFox / Chrome .
Google Pac-Man Online Demo:
Google Pac-Man Source Code:
JavaScript Source Code of Google Pac-Man Doodle
Mar 09
As the HTTP protocol transfer information with plain data, some websites such as shopping, transaction, login and register need to open the HTTPS protocol to increase security, ensure important data like password will not be intercepted and sniffed.
HTTPS need the support of SSL digital certificate, almost every browser trusted CA organizations charge fees when sign digital certificates, and the price is generally 13 U.S. dollars to 50 U.S. dollars per year. (Except StartSSL and PositiveSSL)
If the certificate only for the own use, to prevent the online management of your password has been tapped, you can self sign SSL digital certificate by free.
On Debian5 + OpenSSL + Nginx environment, just follow these steps: Continue reading »
Jan 07
The day b4 yesterday, I migrated my blog from Blogger to my self-hosting WordPress blog.
The reason is blogger.com blocked by Chinese government, so I can’t login to update my blog. Although I have my own domain, I even can’t visit my blog because some ghs servers of Google are blocked too.
After a long waiting, I can’t bear any more, finally decided to buy a hosting and transfer my blog to WordPress.
The following are some simple steps: (You should change peptop.com with your wanted domain) Continue reading »
Aug 19
It is no wonder with the explosion of Social Media Networkings, which are called web 2.0 as well in recent years.
Google, Facebook, Twitter, Flickr, Digg, and etc.
Many of them have become a very important part of our lives.
By adding social media buttons to your blog, your readers will easily share your posts with their friends. And it will truly enhance their experience and definitely boost your blog’s traffic.
Adding social media buttons to Blogger is not as hard as you imagine.
There are only three simple steps: Continue reading »
Aug 14
After I decided to write this English Blog, I have to choose a BSP first.
In fact, I needn’t make my choice when I was writing Blog in China.
Blogger.com, WordPress.com, Blog.com, LiveJournal.com, Xanga.com, none of them were options for me.
Not that their services were bad (they all provide nice services), but they were blocked by Chinese government or on the way to be blocked.
If you don’t know how and why the evil government does that, please referral this Wiki page.
Well, finally I came to the free world, and have to make the sweet choice.
Blogger, WordPress or hosting Blog on my own server?
After some searching and attempts, I want to share some experience to you. Continue reading »