[ :: Lubnan :: ]

LebSpy.com

LebSpy.com is a Lebanese website that has everything in it. In LebSpy you can find politics, sport, jokes , programs, computer help, …

There is also a section for LebSpiers who are members that have above 500 posts in the forum or people who have contributed positively to the forum.

Visit the site, go to LebSpy.com!!!

May 14, 2008 Posted by Sako | Uncategorized | , , | 4 Comments

Getting Started With PHP and MySQL in Windows with EasyPHP

Intro
I’m sure you have all heart one time or another about this cool stuff called “PHP” and MySQL, and some of you have probably heart that you need Linux to use this stuff.
Well that’s not true. Of course, Linux is the best operating system for hosting a website, but Linux is not ideal way for a newbie to learn PHP.
All you need for your first steps in PHP and MySQL is a cool program called EasyPHP (rapidshare link). Basically this is a collection of programs.
More Specific,
  • Apache the web server, the program that is responsible for viewing you sites and working together with PHP.
  • PHP Module For Apache
  • MySQL Database Server
Installation
All you have to do is download install and run the program. I recommend using the default Directory C:\Program Files\EasyPHP1-8 so that you will follow the tutorials easily.
After installation completes goto Start – Programs – EasyPHP – EasyPHP.exe
You should see an icon in your taskbar, double click on it. you should see something like this:
This is a question, if you want to update the program. Just click OK.
Then double click on the “e” on the taskbar. You should see this window:
If the little dots beside the Apache Button and MySQL button are Green, that means that you are ok, and ready to go!

Your First PHP Program

To test this open your favourite browser (Or Internet Explorer :p) and write 127.0.0.1

You should see something like this:
You are ready to start PHP Programming. the location for the files is C:\Program Files\EasyPHP1-8\www or something like this (where you have installed EasyPHP)
Go in that folder. you should see a file “index.php”. Open it. You can use notepad, WordPad or any editor you want. I use Notepad++ and PHP Expert Editor. Whatever makes you feel better.
When you open the file, you see a mixture of HTML and PHP.
All PHP code is in the php tags. That is <?php and ?>
For example, a hello world program:
<?php
echo “Hello World !!!”;
?>
Create a new file, for example index2.php and write the code above and save it. Then open with your browser http://127.0.0.1/index2.php
You should see this:
To check some PHP functions and view some interesting information about you system, write this into file under hello world example:

<?php phpinfo( ); ?>
You should see this:
That’s all for now. If you have any question about the program please ask them in your comment.

May 14, 2008 Posted by Sako | Computer | , , | 2 Comments

Halba Massacre

No matter what are the reasons that started the fight, we condemn the massacre committed by Future Movement (militia) in Halba against SSNP supporters.

Here’s a video of the massacre. If you don’t have a strong heart, do not watch!

May 14, 2008 Posted by Sako | Lebanese Politics | , , , , | 7 Comments

رضا عنتر يقود كولن للدرجة الأولى

Rida Antar after the goal

قاد لاعبنا الدولي المحترف في ألمانيا رضا عنتر فريقه كولن إلى دوري الدرجة الأولى في ألمانيا بعدما سجل هدفين ليقود كولن للفوز بنتيجة 2-0 على ماينز اليوم الأحد.

وأعطى رضا التقدم لكولن بعد مرور 22 دقيقة بعد ركنية يلعبها التركي أوميت أوزات تابعها رضا برأسه في المرمى قبل أن يسجل هدفه الثاني في المباراة في الدقيقة السابعة والستين بعدما تابع تمريرة من باتريك هيلمز ليسجل هدفه الشخصي الثاني في المباراة والسابع هذا الموسم.

Rida Antar & Yousef Mouhammad

وشارك لاعبنا الآخر المحترف في كولن يوسف محمد في المباراة التي حقق فيها كولن فوزه السابع عشر هذا الموسم ليضمن بذلك تأهله إلى الدرجة الأولى قبل مرحلة من نهاية البطولة.

Source : Lebanese-Football.com

May 14, 2008 Posted by Sako | Lebanon (non-politics), Sport | , , , , | 2 Comments

Short Info About Lebanon

Lebanese Flag

Lebanon (IPA: /ˈlɛbənɒn/) (Arabic: لبنان Lubnān), officially the Republic of Lebanon or Lebanese Republic (الجمهورية اللبنانية), is a religiously diverse, mountainous country in Western Asia, on the eastern shore of the Mediterranean Sea. It is bordered by Syria to the north and east, and Israel to the south. Due to its sectarian diversity, Lebanon evolved a unique political system, known as confessionalism, based on a community-based power-sharing mechanism. It was created when the ruling French mandatory powers expanded the borders of the former Maronite Christian autonomous Ottoman Mount Lebanon district.

The flag of Lebanon features a cedar in green against a white backdrop, bounded by two horizontal red stripes along the top and bottom. This is a reference to the famous cedars of Lebanon, that were mentioned in the verses of the Tanakh/Old Testament, mostly in Psalms and the Song of Songs.

Before the Lebanese Civil War (1975-1990), the country enjoyed a period of relative calm and prosperity, driven by the tourism, agriculture, and banking sectors of the economy. It is considered the banking capital of the Levant and was widely known as the “Switzerland of the East” due to its financial power. Lebanon also attracted large numbers of tourists to the point that the capital Beirut became widely referred to as the “Paris of Western Asia.”

Immediately following the end of the war, there were extensive efforts to revive the economy and rebuild national infrastructure. By early 2006, a considerable degree of stability had been achieved throughout much of the country, Beirut’s reconstruction was almost complete, and an increasing number of foreign tourists were pouring into Lebanon’s resorts.

source

May 14, 2008 Posted by Sako | Lebanon (non-politics) | | No Comments Yet