Author Archive

Fixing yahoo problems in pidgin

July 24, 2009

The past few days i faced a problem with pidgin that it works with my msn e-mails and gmail e-mails but the problem was with yahoo.

Yahoo! Inc. did something to its messenger servers, something that practically blocked all the Linux IM clients, such as Pidgin, Kopete, Empathy or GyachI.Yahoo! changed the login method! However, at this moment none of the aforementioned Instant Messenger clients for Linux can connect with the Yahoo protocol.

i searched for the solution of this problem and finally found it ๐Ÿ˜€ , then let’s fix this problem !

the solution was in the latest version of pidgin 2.5.7

1) download this key and save it in your Desktop

2) go to [System >> Administration >> Software Sources], enter your password and press [Third Party Software] tab

3) then add this line according your ubuntu distribution

Ubuntu 9.04

deb jaunty main

Ubuntu 8.10

deb intrepid main

4) go to [Authentication] tab and press [Import Key File] button and choose the key file in your Desktop

5) close window and preess [Reload]

6) and then [ System >> Administration >> Update Manager]

Enjoy your time ๐Ÿ˜€


Linux Run Levels

June 28, 2009

so , what's the meaning of Runlevels?

Runlevels define what services or processes should be running on the system.

in other words : A runlevel is a software configuration of the system that allows only a selected group of processes to exist, Init can run the system in one of 6 runlevels.


PHP Operators

July 31, 2008

By now, you must have started writing those scripts and started working on PHP. Now, itโ€™s time for you to learn about the operators available in PHP. An operator is something in which one or more values are fed and it gives another value as a result.

In general there are three types of operators:

  • Unary โ€“ it operates on only one value.
  • Binary โ€“ it operates on two or more than two values.
  • Ternary โ€“ it is used to select between two expressions depending on the third one.

There are many types of operators in PHP; some of them are useful but some are not. In this tutorial we will be studying about the most useful operators in PHP, which are:

  • Arithmetic operators
  • Assignment operators
  • Comparison operators
  • Logical operators


Your First PHP Script

July 24, 2008

Now that you have installed all the support software for running PHP, you are ready to learn how to do a PHP script.

Writing a PHP script is very simple. No special software is needed, except a text editor like Notepad in which the script is written. You have to run that code on your web browser and you are ready with your first PHP script.

The First Script

A PHP file normally contains HTML tags and some PHP scripting code. A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document.

In PHP scripting each line of code must end with a semicolon (;). The semicolon acts as a separator and is used to distinguish between two sets of instructions.

There is a PHP script in the example given below. This script will display the words โ€œWelcome to expertrating!โ€ in the web browser. There are two basic statements to output text on the browser with PHP: echo and print. In the example given below, the echo statement is used to display text.

echo “Welcome to expertrating!”;