php syntax

PHP is stand for PHP Hypertext Preprocessor.  It is a recursive acronym; the first "P" stands for "PHP," and the first "P" of that stands for "PHP" as well, thus the cycle continues. PHP is a widely used. PHP is general-purpose scripting language. It was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document.
PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel, cause it is a general-purpose programming language. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as standalone interpreter on most operating systems and computing platforms.
PHP can be edited by standart text editor. But you need another server in order to connect it. You can try appserv. It's easy one, and portable. You can edit your php everywhere, whenever you need it, as long as you bring your appserv with you.
PHP document start with <?php and ended with ?> . Every PHP command ended with ;. we use <?php as start because it's available in all browser. some time may be you'll find <?, but it's not recomended. When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows PHP to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP parser. Most of the time you will see PHP embedded in HTML documents.
A simple example.
<?php
echo 'hallo';
?>
You will see hallo in your browser if succed

Read More..

php introduction

PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more.
There are three main areas where PHP scripts are used.

* Server-side scripting. This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server. All these can run on your home machine if you are just experimenting with PHP programming. See the installation instructions section for more information.
* Command line scripting. You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks. See the section about Command line usage of PHP for more information.
* Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution. If you are interested in PHP-GTK, visit » its own website.

PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. PHP has also support for most of the web servers today. This includes Apache, Microsoft Internet Information Server, Personal Web Server, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd, and many others. For the majority of the servers, PHP has a module, for the others supporting the CGI standard, PHP can work as a CGI processor.

PHP allows you to have the freedom of choosing an operating system and a web server. Furthermore, you also have the choice of using procedural programming or object oriented programming, or a mixture of them. Although not every standard OOP feature is implemented in PHP 4, many code libraries and large applications (including the PEAR library) are written only using OOP code. PHP 5 fixes the OOP related weaknesses of PHP 4, and introduces a complete object model.

PHP's abilities includes outputting images, PDF files and even Flash movies (using libswf and Ming) generated on the fly. You can also output easily any text, such as XHTML and any other XML file. PHP can autogenerate these files, and save them in the file system, instead of printing it out, forming a server-side cache for your dynamic content. With PHP you are not limited to output HTML.

PHP has One of the strongest and most significant features. PHP supports for a wide range of databases. Writing a database-enabled web page is incredibly simple. The following databases are currently supported:

* Adabas D
* dBase
* Empress
* FilePro (read-only)
* Hyperwave
* IBM DB2
* Informix
* Ingres
* InterBase
* FrontBase
* mSQL
* Direct MS-SQL
* MySQL
* ODBC
* Oracle (OCI7 and OCI8)
* Ovrimos
* PostgreSQL
* SQLite
* Solid
* Sybase
* Velocis
* Unix dbm

PHP supports ODBC, the Open Database Connection standard, so you can connect to any other database supporting this world standard. We also have a database abstraction extension (named PDO) allowing you to transparently use any database supported by that extension. Additionally

PHP also has support for talking to other services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and countless others. You can also open raw network sockets and interact using any other protocol. PHP has support for the WDDX complex data exchange between virtually all Web programming languages. Talking about interconnection, PHP has support for instantiation of Java objects and using them transparently as PHP objects. You can also use our CORBA extension to access remote objects.

PHP has extremely useful text processing features, from the POSIX Extended or Perl regular expressions to parsing XML documents. For parsing and accessing XML documents, PHP 4 supports the SAX and DOM standards, and you can also use the XSLT extension to transform XML documents. PHP 5 standardizes all the XML extensions on the solid base of libxml2 and extends the feature set adding SimpleXML and XMLReader support.

PHP has many other interesting extensions, the mnoGoSearch search engine functions, the IRC Gateway functions, many compression utilities (gzip, bz2, zip), calendar conversion, translation...

Read More..

Masters winner from year to year

2009 - Angel Cabrera (Argentina)
2008 - Trevor Immelman (South Africa)
2007 - Zach Johnson
2006 - Phil Mickelson
2005 - Tiger Woods
2004 - Phil Mickelson
2003 - Mike Weir (Canada)
2002 - Tiger Woods
2001 - Tiger Woods
2000 - Vijay Singh (Fiji)
1999 - Jose Maria Olazabal (Spain)
1998 - Mark O `Meara
1997 - Tiger Woods
1996 - Nick Faldo (England)
1995 - Ben Crenshaw
1994 - Jose Maria Olazabal (Spain)
1993 - Bernhard Langer (Germany)
1992 - Fred Couples
1991 - Ian Woosnam (Wales)
1990 - Nick Faldo (England)
1989 - Nick Faldo (England)
1988 - Sandy's Lyle (Scotland)
1987 - Larry Mize
1986 - Jack Nicklaus
1985 - Bernhard Langer (Germany)
1984 - Ben Crenshaw
1983 - Seve Ballesteros (Spain)
1982 - Craig Stadler
1981 - Tom Watson
1980 - Seve Ballesteros (Spain)
1979 - Fuzzy Zoeller
1978 - Gary Player (South Africa)
1977 - Tom Watson
1976 - Raymond Floyd
1975 - Jack Nicklaus
1974 - Gary Player (S Africa)
1973 - Tommy Aaron
1972 - Jack Nicklaus
1971 - Charles Coody
1970 - Billy Casper
1969 - George Archer
1968 - Bob Goalby
1967 - Gay Brewer, Jr..
1966 - Jack Nicklaus
1965 - Jack Nicklaus
1964 - Arnold Palmer
1963 - Jack Nicklaus
1962 - Arnold Palmer
1961 - Player Gary (South Africa)
1960 - Arnold Palmer
1959 - Art Wall, Jr..
1958 - Arnold Palmer
1957 - Doug Ford
1956 - Jack Burke, Jr..
1955 - Cary Middlecoff
1954 - Sam Snead
1953 - Ben Hogan
1952 - Sam Snead
1951 - Ben Hogan
1950 - Jimmy Demaret
1949 - Sam Snead
1948 - Claude Harmon
1947 - Jimmy Demaret
1946 - Herman Keiser
1945 - No tournament due to World War II
1944 - No turanmen since World War II
1943 - No tournament due to World War II
1942 - Byron Nelson
1941 - Craig Wood
1940 - Jimmy Demaret
1939 - Ralph Guldahl
1938 - Henry Picard
1937 - Byron Nelson
1936 - Horton Smith
1935 - Gene Sarazen
1934 - Horton Smith
All of the golf tournament held at Augusta National - Augusta, Georgia

Read More..

emoticon on yahoo

Emoticon on Yahoo massanger
Surprise your friends with these hidden characters.

You will not find these characters emoticons in the menu, but you can still send them by typing the shortcut character code directly into your message.
: O3 puppy
 : -? I do not know
 % - ( do not listen
 : @) pig
 3:-O cow
  : (|) monkey
 ~:> chicken
 @); - rose
 %% - leaf
 **== flag
 (~ ~) squash
 ~ O) coffee
 *-:) bright idea
 8-X skull
 =:) insect
 > -) alien
 :-L frustrating
 [-O < pray
 $ -) mercenary
 : - " whistle
 b-( black-and-blue
 :)> - peace
 [-X can not
 \: D / dance
 >: / who fear
 ;)) hi .. hi .. hi
 : - @ fussy
 ^:) ^ salute
 :-J oh aja
 (*) star
 o-> hiro
 o => billy
 o-+ April
 (%) yin
 : Bz bee
 [..] Transformer *


Read More..

emoticon for email

HAPPY, SMILING, LAUGHING
  :-) smiling; agreeing
  :-D laughing
  |-) hee hee
  |-D ho ho
  :-> hey hey
  ;-) so happy, I'm crying
  :'-) crying with joy
  \~/ full glass; my glass is full
 

TEASING, MISCHIEVOUS
  ;-) winking; just kidding
  '-) winking; just kidding
  ;-> devilish wink
  :*) clowning
  :-T keeping a straight face
 

AFFIRMING, SUPPORTING
  :^D "Great! I like it!"
  8-] "Wow, maaan"
  :-o "Wow!"
  ^5 high five
  ^ thumbs up
  :] Gleep, a friendly midget who wants
  to befriend you
  (::()::) bandaid; offering help or support


UNHAPPY, SAD
  :-( frowning; boo hoo
  :( sad
  :-< really sad
  :-c really unhappy
  :-C really bummed
  &-| tearful
  :' crying
  :'-( crying and really sad
  :-| grim
  :[ really down
  :-[ pouting
  \_/ "my glass is empty"


ANGRY, SARCASTIC
 >:-< angry
 :-|| angry
 :-@ screaming
 :-V shouting
 :-r sticking tongue out
 >:-< absolutely livid!!
 :-, smirk
 :-P nyahhhh!
 :-> bitingly sarcastic



TRYING TO COMMUNICATE
 :-& tonguetied
 :-S incoherent
 :-\ undecided
 :- I "hmmm..."
 :-, "hmmm "
 :-# "My lips are sealed"
 :-X "My lips are sealed"
 :-Y a quiet aside
 :-" pursing lips
 :-W speaking with forked tongue
 :( ) can't stop talking


FEELING STUPID OR TIRED
  :~/ mixed up
 %-) braindead
 (:I egghead
 <:-I dunce
 =:-) hosehead
 :-] smiling blockhead
 :-[ un-smiling blockhead
  |-O yawning
 |-I asleep
 :-6 exhausted; wipeout


SURPRISED, INCREDULOUS, SKEPTICAL
 :> What?
 :@ What?
 :Q What?
 :-o "uhh oh!" OR surprise
 ;-) sardonic incredulity
 :O shocked
 8-| eyes wide with surprise
 :-/ skeptical
 8-O "Omigod!!"
 :-C just totally unbelieving
 |-{ "Good Grief!" (Charlie Brown)HUGS AND KISSES
  : * kisses
  :-X a big wet kiss!
  :-x kiss kiss
  :-{} blowing a kiss
  [] hugs
  (( )):** hugs and kisses
  ((((name)))) hug


MISCELLANEOUS
  :-* Oops!
  :-I indifferent
  \-o bored
  :-P tongue hanging out in anticipation
  O :-) angelic; being an angel (at heart, at least)


NEW EMOTICONS (by Tracy Marks):
  ][ feeling separate
  ] [ separating
  ) ( really separating
  { } face-to-face
  [ ] wanting to hug
  }xx kisses
  () feeling in harmony; connecting
  ] ? moving away and wondering about you?
  [ ? moving toward you and wondering about you?


Read More..

easter symbol

Passover Lamb
Among the symbols of the popular Easter, lamb is the most important in this great celebration. Passover lamb, which symbolizes Christ, with the flag of victory, can be seen in the paintings mounted on houses European family. The most ancient prayer for the blessing of the lambs was found in the ritual book the Benedictine monastery in the seventh century Bobbio, Italy. Two hundred years later Romans used it and after that, for centuries later, the main menu dinner at the pope on the Feast of Easter is a lamb roast. After the tenth century, instead of lamb, whole, presented the pieces of meat are much smaller.

Tradiri ancient Passover lamb was also inspired Christians to provide lamb meat as a popular dish during Easter. Until now, the lamb meat is presented as the main menu of Easter Sunday in different parts of eastern Europe. But, often forms little lamb made of butter, bread or candy dish replaces the lamb meat, and a main course Passover meal.

In the past centuries, is considered a sign of luck if people see a lamb, especially during Easter. Is a popular superstition that the devil, who can take the form of all sorts of animals, was never allowed to appear in the form of a lamb because of its religious symbols.


EASTER EGGS

Easter eggs originated from the tradition of Indo-European fertility. For those not familiar with our ancestors Christianity, really is an amazing event witnessed a new creature emerged from a seemingly dead object. For them, the egg is a symbol of spring. In the past, in Persian, the mutual reward regular eggs during the spring equinox, which for them also marks the commencement of a new year.

In Christian times, eggs have a religious meaning, namely as a symbol of the rock tomb from which Christ came out to meet a new life through His resurrection. In addition there are practical reasons that make the eggs as a special sign of Easter joy, that is because, first, the egg is one food abstinence during Lent. The believers from the beginning has been coloring Easter eggs with bright colors, ask for blessings upon it, ate it, and give them to friends and friends as Easter gifts.

The tradition of Easter eggs developed among the nations of northern Europe and in Asia soon after they convert to Christianity. However, among the nations of southern Europe, and thus also in South America, the tradition of Easter eggs never became popular.

Roman Ritual has a specific procedure for the blessing of Easter eggs:

"We pray Thee, O Lord, bestow Your blessing upon these eggs, making healthy food for the faithful, who gratefully ate it in honor of the Resurrection of Our Lord Jesus Christ."

At mid-century, according to tradition the eggs were distributed on the Feast of Easter to all servants. There are records that King Edward I of England (1307) ordered 450 eggs boiled before Easter, colored or covered with golden leaves, which are then divided them out to all members of the royal family at Passover.

Easter eggs are usually distributed to children as Easter gifts along with other gifts. This habit is firmly rooted in Germany where the eggs called "Dingeier" (egg-egg "dihutang"). The children had not waited in demanding what is "dihutang" from them, and thus developed a variety of rhyme in France, Germany, Austria and England, where the children, even today, demanding the Easter eggs as their prize. Here is one of them who came from Austria:

We sing, we sing the Easter song:
God makes you healthier, stronger and smarter.
Disease and hurricanes and all manner of evil
presumably far away from relatives, and livestock and fields.
Now, give us eggs,
green, blue and red;
if not, children will die all your chicken.

In some areas of Ireland, the children collect the eggs of geese and ducks during Holy Week, to be given as gifts on Easter Sunday. Previously, on Palm Sunday, they make small nests of stone, and throughout the Holy Week, they collect as many eggs, store them in their stone nests hidden. On Easter Sunday, they ate it all, share them with other children who are still too small to collect their own eggs.

Adults also gave eggs as gifts in Ireland. The number of eggs that will be awarded is determined according to the ancient proverb among the people of Ireland: "One egg for a real man; two eggs for gentlemen; three eggs to the poor; four eggs for the poorest [beggars]."

In most countries, the eggs were given a plain color with dyes from plants. Among the Chaldeans, Syrians and Greeks, the faithful reward each other eggs red in honor of the blood of Christ. In areas in Germany and Austria, only the green eggs are used on Maundy Thursday, but the eggs are colorful used during the celebration of Easter. Slavic people create special patterns of gold and silver. In Germany and in several central European countries, eggs are used to cook the Easter meal is not solved, but pierced with a needle at both ends, and the contents removed by blowing into a bowl. Empty egg shells are given to children for use in a variety of Easter games. In some areas of Germany, the empty egg shells are hung on the bushes and trees throughout the week of Easter, like Christmas trees. Armenian people decorate their empty egg shells with pictures of the Risen Christ, the Virgin Mary, and other religious images, to be administered to children as Easter gifts.

Various Games Using Eggs

Easter is a time period of playing with egg all over mainland Europe. Competition egg mashed with a variety of variations mostly done in Syria, Iraq, and also Iran. In Norway, the game was called knekke (percussion). In Germany, Austria and France, hard boiled egg rolled in the field or hill and mutual pitted, cracked eggs that remained until the end declared as "egg victory." This game is very popular in America through the feast of egg rolls in the field, the White House in Washington.

Another common tradition among the children is a race to find the eggs, both in the home or in the garden on Easter Sunday. In France, children listen to fairy tales that Easter eggs dropped from the church bells on their way back from Rome. In Germany and Austria, a small baskets of eggs, pies and candy placed in hidden places, and the children believe that the Easter bunny, who is also so popular in this country, have laid the eggs and candy.

In Russia and Ukraine and also Poland, people start their Easter meal with joy after the long Lenten period of fasting with an egg that has been blessed on Easter Sunday. Before you sit down to eat, the father will be carefully distributed a small part of an Easter egg to every member of your family and guests, as he happily congratulated on this holy day. Before they ate the eggs of their part in silence, they will not sit down to eat their Passover meal.


EASTER RABBIT

Easter Bunny comes from the tradition of fertility before the Christian community. Rabbits are the most fertile animals according to the ancestors, so the rabbit is used as a symbol of new life that is abundant in the spring. Easter Bunny has never had religious meaning in the celebration of Easter, even though the meat is white, sometimes, is said to symbolize purity and flawless. Church never gave a special blessing for the rabbit. However, the rabbit gets a nice role in the celebration of Easter as producer legend of Easter eggs for children in various countries. In various regions in Germany, believed that the Easter bunny laid red eggs on Maundy Thursday and eggs of various colors on the night before Easter Sunday. Easter rabbits in the form of cookies and candy became popular in southern Germany, and now cakes and sweets is a very popular children in various countries.


PIG

Do not forget the pig which gives the meat as a dish in the traditional Passover meal. Pigs are always symbolizes good luck and prosperity among the people of Indo-European. Remnants of this ancient symbol is still alive in our day. Children's piggy bank in the form of pigs, for example, is a manifestation of this ancient tradition.

Is a tradition handed down from pre-Christian times, to eat pork in various celebrations. The British and Scandinavians eat them, the Germans and Slavs ate pork roast on Christmas Day. Also, in various regions of Europe, the roast pork is still the main meal in the traditional weddings and the celebrations. During Easter, ham, lamb meat also, to fine dining most European nations since the past, and is a traditional Easter menu in many areas.

Read More..

Happy easter

Wikipedia :
Easter (Ēostre (Old English); Greek: Πάσχα Paskha, from Hebrew: פֶּסַח Pesakh,) is the central religious feast in the Christian liturgical year.[1] According to Christian scripture, Jesus was resurrected from the dead on the third day after his crucifixion. Some Christians celebrate this resurrection on Easter Day or Easter Sunday[2] (also Resurrection Day or Resurrection Sunday), two days after Good Friday and three days after Maundy Thursday. The chronology of his death and resurrection is variously interpreted to be between AD 26 and AD 36. Easter also refers to the season of the church year called Eastertide or the Easter Season. Traditionally the Easter Season lasted for the forty days from Easter Day until Ascension Day but now officially lasts for the fifty days until Pentecost. The first week of the Easter Season is known as Easter Week or the Octave of Easter. Easter also marks the end of Lent, a season of fasting, prayer, and penance.
Easter is a moveable feast, meaning it is not fixed in relation to the civil calendar. The First Council of Nicaea (325) established the date of Easter as the first Sunday after the full moon (the Paschal Full Moon) following the northern hemisphere's vernal equinox.[3] Ecclesiastically, the equinox is reckoned to be on March 21 (regardless of the astronomically correct date), and the "Full Moon" is not necessarily the astronomically correct date. The date of Easter therefore varies between March 22 and April 25. Eastern Christianity bases its calculations on the Julian Calendar whose March 21 corresponds, during the twenty-first century, to April 3 in the Gregorian Calendar, in which calendar their celebration of Easter therefore varies between April 4 and May 8.

Easter is linked to the Jewish Passover by much of its symbolism, as well as by its position in the calendar. In most European languages the feast called Easter in English is termed by the words for passover in those languages and in the older English versions of the Bible the term Easter was the term used to translate passover.[4][5]

Relatively newer elements such as the Easter Bunny and Easter egg hunts have become part of the holiday's modern celebrations, and those aspects are often celebrated by many Christians and non-Christians alike. There are also some Christian denominations who do not celebrate Easter.

Read More..
 

Mhabibie's web | Mhabibie's BLog