free howtos tutorials on php, installation, configuration, support, technical quries, tips

Use wordpress as a Travel Agency site.

Recently we have modified wordpress platform to a fully functional travel agency site which offers holiday packages, car rental and other travel related service.   The site name is   I am looking for your reviews and suggestions.

How to PHP MongoDB extenstion

Installation of PHP MongoDB extenstion: wget “” tar xzf mongo-1.2.10.tgz cd mongo-1.2.10/ /usr/local/php/bin/phpize ./configure –with-php-config=/usr/local/php/bin/php-config make sudo make install Add in php.ini vim /usr/local/php/lib/php.ini

How to enable error reporting in PHP

To enable error reporting you have to add the following ling in the top of your php file error_reporting(E_ALL ^ E_NOTICE);

A list of PHP Operator Types

The following operator types are available in PHP: Type Description Arithmetic Perform common arithmetical operations, such as addition and subtraction Assignment Assign values to variables Bitwise Perform operations on individual bits in an integer Comparison Compare values in a Boolean fashion (true or false is returned) Error Control Affect error handling (several new ones in(…)

A list of PHP Data Types

Although PHP is loosely typed, it does support many common simple and structured data types. Simple data types are types that contain a range of values that can be ordered in one dimension (strings, numbers, Booleans, and so on), whereas structured data types include arrays and objects. PHP has eight simple types, which are described(…)

Most important things to know about variables in PHP

Here are the most important things to know about variables in PHP ✦ All variables in PHP are denoted with a leading dollar sign ($). ✦ The value of a variable is the value of its most recent assignment. ✦ Variables are assigned with the = operator, with the variable on the left-hand side and the(…)

“Wrong permissions on configuration file, should not be world writable!”.

If you get this error message  like “Wrong permissions on configuration file, should not be world writable!” in phpMyAdmin and page can not load.It could be because is  given write permission. Simply run  chmod a-w command  it will solve your problem.

PHP Security – Designing Databases

The first step is always to create the database, unless you want to use one from a third party. When a database is created, it is assigned to an owner, who executed the creation statement. Usually, only the owner (or a superuser) can do anything with the objects in that database, and in order to(…)

How to Install PHP APC on GNU/Linux Centos 5

The instructions here detail how to get APC running on a CentOS 5 server. The server happened to have Plesk on it as well, which initially made me hesitant to install APC “normally”, since Plesk is so picky on what other software is installed on the server. However, it seems to have worked out well. First, we need(…)

Access Microsoft SQL Server from PHP

On Windows machines, you can simply use the included ODBC support and the correct ODBC driver. On Unix machines, you can use the Sybase-CT driver to access Microsoft SQL Servers because they are (at least mostly) protocol-compatible. Sybase has made a » free version of the necessary libraries for Linux systems. For other Unix operating systems,(…)