June 2008

Send emails using PHP and AJAX. Its a complete AJAX PHP based email solution. Just download it and give it a try.

{ 2 comments }

Setting up a database connection can be a difficult task if you google through different codes present online. Here is the easy most method to create a dbconnection for PHP and mysql.

{ 0 comments }

Cookies were invented to allow webmaster’s to store information about the user and their visit or other information on the user’s computer. Cookies are not privacy risk. All of the “trustworthy” websites use cookies.

{ 0 comments }

function_exists — Return TRUE if the given function has been defined. To check that whether a function is defined or exists or not use function_exists. Checks the list of defined functions, both built-in (internal) and user-defined, for function_name. Returns TRUE on success or FALSE on failure.

{ 0 comments }

isset — Determine whether a variable is set or not! Returns TRUE if var exists; FALSE otherwise. If a variable has been unset with unset(), it will no longer be set. isset() will return FALSE if testing a variable that has been set to NULL. isset() only works with variables as passing anything else will […]

{ 1 comment }

PHP – Sessions

by Hiroshi on June 23, 2008

in isset, Sessions

Session support in PHP consists of a way to preserve certain data across subsequent accesses. This enables you to build more customized applications and increase the appeal of your web site. A visitor accessing your web site is assigned a unique id, the session id. This is either stored in a cookie on the user […]

{ 0 comments }

PHP can be run at localhost. It is very easy to setup a localhost and get your PHP pages running. Better than online server for practicing and building things before you upload the final PHP web based application at remote online server or at your web host.

{ 0 comments }

PHP – Implode

by Hiroshi on June 23, 2008

in Implode, PHP Functions

The PHP function implode operates on an array and is known as the “undo” function of explode. If you have used explode to break up a string into pieces or parts or just have an array of stuff you can use implode to put them all into one string.

{ 0 comments }

PHP – Explode

by Hiroshi on June 23, 2008

in Explode, PHP Functions

The PHP function explode lets you take a string and blow it up into smaller pieces. For example, if you had a sentence you could ask explode to use the sentence’s spaces ” ” as dynamite and it would blow up the sentence into separate words, which would be stored in an array. The sentence […]

{ 0 comments }

String to Upper Case – strtoupper The strtoupper function takes one argument, the string you want converted to upper case and returns the converted string. Only letters of the alphabet are changed, numbers will remain the same.

{ 0 comments }