Aug 06

Chapter 2 , introduced how to open, read, write, lock, close a file and other useful file functions.
Continue reading »

Jul 23

Chapter 1 , from a C/C++ programmer’s point of view, introduced the PHP basic syntax, variables, constants, variables and constants scope, operator, operator precedence, variable functions, conditional statements, etc for Crash Course.
Continue reading »

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 24

LinLink Official Theme Mliho

Key features:

Animated Tile Images
Different Background Pictures

The authors:

Skyker Software
Mliho.com

Continue reading »

Page 1 of 3123