Archives 2012

Server: That means "LFD" and "CSF" in cPanel

When you or your hosting company uses cPanel or another Web hosting control panel, you often hear unfamiliar abbreviations, here are two most popular abbreviation:

  • LFD = Login Failure Daemon
  • CSF = Config Server Firewal

Continue reading

Photobooth.js : New JavaScript framework to use the webcam with HTML5

Photobooth.js : New JavaScript framework to use the webcam with HTML5

Photobooth is a new JavaScript framework to integrate in a website fairly easily making a webcam photo exploiting the latest HTML5 API "WebRTC" W3C.

Sites: Photobooth.js website | Demo | Repository

Continue reading

Check your Internet connection | PHP Script Snippet

To check if your Internet connection is enabled, a simple solution is this function:


<?php
/**
 * Check Internet Connection.
 * 
 * @param string $sCheckHost Default: http://www.google.com
 * @return boolean
 */
function check_internet_connection($sCheckHost = 'http://www.google.com') 
{
    return (bool) @fopen($sCheckHost, 'r');
}
?>

A function is a little more advanced:


<?php
/**
 * Check Internet Connection.
 * 
 * @param string $sCheckHost Default: www.google.com
 * @return boolean
 */
function check_internet_connection($sCheckHost = 'www.google.com') 
{
    return (bool) @fsockopen($sCheckHost, 80, $iErrno, $sErrStr, 5);
}
?>

Example of use:


<?php
$bIsConnected = check_internet_connection();
$sText = ($bIsConnected) ? '<p style="color:green">You are currently connected to the Internet.</p>' : '<p style="color:red">You are ...

Continue reading

Deleted comments

Hello to all!

Following a large number of spam via the commenting system, we decided to remove all the blog comments (3028 comments in total).

We are very sorry for contributions from you and we make every effort to ensure that this occurs more inconvenience.

Again thank you for your opinion by comment, it makes us very happy and do not hesitate to post your comments again;)

Continue reading

Install MySQL database server

Install MySQL server

1) Download the latest version of MySQL on this page:
http://dev.mysql.com/downloads/mysql/
and unzip the archive, then you put in the folder.

2) Install MySQL with the following commands in your terminal:

./configure --prefix=/usr/local/mysql
make
sudo make install

3) Change permissions if necessary (MySQL Directory and database).

4) Check if the MySQL installation was successful by typing this command
mysql -V
You should get a message similar to this one:

mysql  Ver 14.14 Distrib 5.5.28, for Linux (x86_64) using readline 5.1

5) Add a password for ...

Continue reading

Installing an Apache server on Linux OS

Install Apache


Here we will learn how to install an Apache server.
Here are the steps

1) Download the latest version of Apache
wget http://apache.petsads.us//httpd/httpd-2.4.3.tar.bz2

2) Extract the archive: tar -jxvf httpd-2.4.3.tar.bz2

3) Now compile and install the Apache source code
Type this: cd httpd-2.4.3/
then create the directory of your Web server's public
sudo mkdir /var/www/
then installing Apache

./configure --prefix=/var/www --enable-module=so --enable-module=rewrite
sudo make && make install

4) Permissions
In general you should do this for the right server for your permission.

cd /var/www/
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

and for the file to be executed ...

Continue reading

Installing PHP on a server

Install PHP

Warning: Before starting the installation, you must have a Web server installed.
You can follow our tutorial to install an Apache server.

1) Download the latest version of PHP source,
Type the following command on your terminal, change the version number (here 5.4.8) to obtain the latest version of PHP
wget http://us2.php.net/distributions/php-5.4.8.tar.bz2

2) Extract the archive: tar -jxvf php-5.4.8.tar.bz2

3) Now compile and install the source code of PHP
Type this: cd php-5.4.8/
then

./configure --prefix=/var/www
make
sudo make ...

Continue reading

Have a attractive and original cover photo | Facebook Timeline

Have a attractive and original cover photo | Facebook Timeline

Difficult to find a nice cover photo for your Facebook Timeline (Facebook profile).
So here are two links that can help you to get the picture that makes me want to visit your profile.

  1. FB Profile Covers (Often also called the name "Best FB Cover")
  2. Name Covers
  3. Cover Photoz
  4. FB Covers King

I also advise you to always keep a theme for your cover photos, for example, have a theme "humor", "horror", "music", "star", "holidays", ...).
Also keep in mind that your cover photos are always public, so anyone can view them.

Gook luck on your FB Timeline! ;)

Continue reading

Create your own Social Network!

Create your own Social Network!

Create own social network website with phpFox.

It allows you to create a social network in record time and with ease child!

This social networking script is built in PHP object, no files are encrypted and the code is very clean and well commented in order to make changes easily.

Website: phpFox.

Continue reading

Complete list of Smileys Facebook

Complete list of Smileys Facebook

Here is the full list of emoticons with their new keyboard shortcuts available on Facebook:

Add this item to your favorites to have on hand and easily share it with your friends!
Good fun with this smiles!

Continue reading

Monthly archives