RSS

Google Starts Knol

Thu, Jul 24, 2008

0 Comments

Knol
Google yesterday (July 23, 2008) started a new service, Knol.

Knol Wiki with a similar, but also a knowledge base. However, the appearance of view, more like a Blog. Anyone with a google account users can use their accounts directly write articles. Knol and Wiki different, it recommended using his real name published articles, and published articles are mostly well-known experts in various fields, can also connect with Google Adsense for the author to create income.

List of PHP keywords

Wed, Jul 23, 2008

0 Comments

PHP Keywords
and or xor __FILE__ exception (PHP 5)
__LINE__ array() as break case
class const continue declare default
die() do echo() else elseif
empty() enddeclare endfor endforeach endif
endswitch endwhile eval() exit() extends
for foreach function global if
include() include_once() isset() list() new
print() require() require_once() return() static
switch unset() use var while
__FUNCTION__ __CLASS__ __METHOD__ final (as of PHP 5) php_user_filter (as of PHP 5)
interface (as of PHP 5) implements (as of PHP 5) instanceof (as of PHP 5) public (as of PHP 5) private (as of PHP 5)
protected (as of PHP 5) abstract (as of PHP 5) clone (as of PHP 5) try (as of PHP 5) catch (as of PHP 5)
throw (as of PHP 5) cfunction (PHP 4 only) old_function (PHP 4 only) this (as of PHP 5) final (as of PHP 5)
__NAMESPACE__ (as of PHP 5.3) namespace (as of PHP 5.3) goto (PHP 6 only) __DIR__ (as of PHP 5.3)

GET method & POST method

Mon, Jul 21, 2008

0 Comments

When you wanna pass some value from one page to other page, you may wanna use GET or POST method.

Usage

GET:

In source page, the code will like following:


<form action="target URL" method="get">

<select name="">

<option value="">

</option>

</select>

<input type="submit" name="" value="" />

</form>

In the target page, the code may be:


<?php

echo $_GET['name'];

?>

the name in the source page will be the key of $_GET(one of the super global variable).

the value in the source page will be the value of $_GET['particularName'].

POST

The POST method is almost same as GET method.

POST method is more secured and can pass more information than GET does.

When to die?

Sun, Jul 20, 2008

0 Comments

Death ClockWhen you will die?

Have you thought about that question?If you wanna know the answer, Just take a look at Death Clock.

This site will provide a application to calculate the remain time of yours, accurate to second。

The best Multilanguage Plugin For WordPress

Sat, Jul 19, 2008

0 Comments

Installation

  1. Download qTranslate plugin

http://wordpress.org/extend/plugins/qtranslate/

Or

http://www.qianqin.de/qtranslate/download/

  1. Extract all the files.
  2. Upload everything (keeping the directory structure) to the /wp-content/plugins/ directory.
  3. There should be a /wp-content/plugins/qtranslate directory now with qtranslate.php in it.
  4. Activate the plugin through the ‘Plugins’ menu in WordPress. Contitue reading…

Page 1 of 512345»