PHP Articles etc.


Sample chapter
TOC

Reviews

linuxsecurity.com
Brent Ashley
kickstartnews.com
BellaOnline
OSNews
Linux World
Groklaw


QR Code of this URL
QR Code of this URL


Installing MariaDB on Ubuntu 10.10 (Maverick Meerkat)

This article addresses a very specific issue--the installation of the binary version of the MariaDB database server on Ubuntu10.10. There is no precompiled package available so you must install the generic Linux binaries ...

Read in <pdf> format

Using The PHP SplSubject/SplObserver Classes

This article looks at the Observer/Subject design pattern using interfaces bundled with PHP version 5.1 and higher. This pattern is sometimes known as a Listener pattern and is useful for facilitating communication between objects--it's a way of informing interested parties when relevant changes have occurred.

Read in <pdf> format

PayPal "Buy Now" Button

PayPal's "Buy Now" buttons are ideal for ecommerce impulse sales. They are easy for the customer to use and there's no lengthy check-out procedure. One click and you're on PayPal's secured site. They are also very easy to install and for this reason sometimes get ignored when it comes to tracking and securing sales.

Read in <pdf> format

Using MySQL with PDO

PDO is a PHP extension providing a data-access abstraction layer that can be used with a variety of databases. This gives you the flexibility of changing the database backend without having to alter your access methods. Even if you use MySQL exclusively, PDO can provide advantages ...

The Magic __set_state Method

In PHP 4 there are only two magic methods, __serialize and __unserialize. PHP 5 .0 defines a number of new magic methods the most well-known being the constructor and destructor. Apart from beginning with a double underscore, magic methods in PHP are (usually) invoked indirectly.


Page 2 of 10