Sunday, 12 October 2008
Layakkah kita?!
Umar berteriak,"Kembalikan dia padaku. Aku perlu bicara dengannya." Begitu lelaki itu datang kembali, Umar berkata "untuk apa kau katakan semua itu padaku?" Lelaki itu menjawab,"Jika kamu percaya pada ku, aku akan memberitahu kamu." Umar menukas, "Baik, aku percaya padamu."
Lelaki itu berkata, "Di Madinah, aku melihat kamu berpenampilan mewah dengan sombongnya, kau ulurkan sarungmu, kau uraikan rambutmu, kau tebarkan wewangian berlebihan sehingga aku takjub bagaimana Allah membiarkanmu untuk tetap untuk menjadi penghuni bumiNya. Ketika mengetahui keadaanmu itu, sudah semestinya aku memberikan belasungkawa dan memenuhi hakmu."
Umar lantas berpesan,"Saudaraku, jika kamu tinggal bersama kami di bumi kami, berjanjilah mengingatkan kami, dan jika kamu keluar, semoga dilindungi Allah."
Friday, 29 August 2008
Einstein's Riddles ~ Neighbours
There is a row of five houses, each having a different colour. In these houses live five people of various nationalities. Each of them nurtures a different beast, likes different drinks and smokes different brand of cigars.
- The Brit lives in the Red house.
- The Swede keeps dogs as pets.
- The Dane drinks tea.
- The Green house is on the left of the White house.
- The owner of the Green house drinks coffee.
- The person who smokes Pall Mall rears birds.
- The owner of the Yellow house smokes Dunhill.
- The man living in the centre house drinks milk.
- The Norwegian lives in the first house.
- The man who smokes Blends lives next to the one who keeps cats.
- The man who keeps horses lives next to the man who smokes Dunhill.
- The man who smokes Blue Master drinks beer.
- The German smokes Prince.
- The Norwegian lives next to the Blue house.
- The man who smokes Blends has a neighbour who drinks water.
Who has fish at home? (are you one of the 2%).
Do you want to know the answer? Read this
Einstein's Riddles ~ Neighbours
There is a row of five houses, each having a different colour. In these houses live five people of various nationalities. Each of them nurtures a different beast, likes different drinks and smokes different brand of cigars.
- The Brit lives in the Red house.
- The Swede keeps dogs as pets.
- The Dane drinks tea.
- The Green house is on the left of the White house.
- The owner of the Green house drinks coffee.
- The person who smokes Pall Mall rears birds.
- The owner of the Yellow house smokes Dunhill.
- The man living in the centre house drinks milk.
- The Norwegian lives in the first house.
- The man who smokes Blends lives next to the one who keeps cats.
- The man who keeps horses lives next to the man who smokes Dunhill.
- The man who smokes Blue Master drinks beer.
- The German smokes Prince.
- The Norwegian lives next to the Blue house.
- The man who smokes Blends has a neighbour who drinks water.
Who has fish at home? (are you one of the 2%). -
Do you want to know the answer? Read this for the real source
Einstein's Riddles ~ Neighbours
There is a row of five houses, each having a different colour. In these houses live five people of various nationalities. Each of them nurtures a different beast, likes different drinks and smokes different brand of cigars.
- The Brit lives in the Red house.
- The Swede keeps dogs as pets.
- The Dane drinks tea.
- The Green house is on the left of the White house.
- The owner of the Green house drinks coffee.
- The person who smokes Pall Mall rears birds.
- The owner of the Yellow house smokes Dunhill.
- The man living in the centre house drinks milk.
- The Norwegian lives in the first house.
- The man who smokes Blends lives next to the one who keeps cats.
- The man who keeps horses lives next to the man who smokes Dunhill.
- The man who smokes Blue Master drinks beer.
- The German smokes Prince.
- The Norwegian lives next to the Blue house.
- The man who smokes Blends has a neighbour who drinks water.
Who has fish at home? (are you one of the 2%).
Do you want to know the answer? Read this for the real source
sebelum ramadhan tiba...

sebelum aku memasuki ramdhan ini, ijinkanlah daku memohon maap kepada sahabat semuanya atas berbagai khilaf dan salah ku... maafkan aku, sehingga aku bisa menjalankan shaum ku di tahun ini dengan penuh hikmat karena maaf dari kalian semua.
Comments in PHP
<html><body> //This is a comment /*This isa commentblock*/ ?> </body> |
Your first PHP
Create a file named hello.php and put it in your web server's root directory (DOCUMENT_ROOT) with the following content:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
Use your browser to access the file with your web server's URL, ending with the "/hello.php" file reference. When developing locally this URL will be something like http://localhost/hello.php or http://127.0.0.1/hello.php but this depends on the web server's configuration. If everything is configured correctly, this file will be parsed by PHP and the following output will be sent to your browser:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
This program is extremely simple and you really did not need to use PHP to create a page like this. All it does is display: Hello World using the PHP echo() statement. Note that the file does not need to be executable or special in any way. The server finds out that this file needs to be interpreted by PHP because you used the ".php" extension, which the server is configured to pass on to PHP. Think of this as a normal HTML file which happens to have a set of special tags available to you that do a lot of interesting things.
If you tried this example and it did not output anything, it prompted for download, or you see the whole file as text, chances are that the server you are on does not have PHP enabled, or is not configured properly. Ask your administrator to enable it for you using the Installation chapter of the manual. If you are developing locally, also read the installation chapter to make sure everything is configured properly. Make sure that you access the file via http with the server providing you the output. If you just call up the file from your file system, then it will not be parsed by PHP. If the problems persist anyway, do not hesitate to use one of the many » PHP support options.
The point of the example is to show the special PHP tag format. In this example we used . You may jump in and out of PHP mode in an HTML file like this anywhere you want. For more details, read the manual section on the basic PHP syntax.