Archive for the 'Tutorial – PHP' Category

PHP File Upload

Posted on December 3 2009 by zemog

With PHP, it is possible to upload files to the server.

PHP MySQL Create Database and Tables

Posted on December 3 2009 by zemog

A database holds one or multiple tables.

PHP Switch Statement

Posted on December 3 2009 by zemog

Conditional statements are used to perform different actions based on different conditions.

PHP Include File

Posted on December 3 2009 by zemog

Includes are very important function of PHP that you should now.

Connecting to MySQL in PHP

Posted on December 3 2009 by zemog

The free MySQL database is very often used with PHP.

PHP IF… Else Statement

Posted on December 3 2009 by zemog

Conditional statements are used to perform different actions based on different conditions.

PHP Loops

Posted on December 3 2009 by zemog

Loops execute a block of code a specified number of times, or while a specified condition is true.

PHP Error Handling

Posted on December 3 2009 by zemog

The default error handling in PHP is very simple. An error message with filename, line number and a message describing the error is sent to the browser.

Preventing SQL Injections in Joomla

Posted on November 18 2009 by zemog

How to secure your script from sql injections.

Get live currency using PHP

Posted on November 8 2009 by zemog

Have you ever wondered how you can get a currency feed? Many sites are offering this but it is not for free. Use Google’s currency converter for a free feed instead

Deprecated functions in PHP 5.3.x

Posted on November 8 2009 by zemog

PHP 5.3.x has deprecated some functions from the previous versions. All of use programmers should be aware of this

PHP Date function

Posted on November 6 2009 by zemog

This article shows the different output format for the date function of PHP.

PHP Array

Posted on November 5 2009 by zemog

This tutorial will walk you through the basic implementation of array in PHP

Setup Your Own E-mail Server to be used for local php mail function

Posted on November 4 2009 by zemog

What is a Mail Server You know this. A mail server allows you to receive mails from other mail servers around the internet, provided you create user accounts. It also allows your users to send emails to other mail servers. For this tutorial, we’ll use a solution that is freeware, and does its job perfect. [...]

Double quote vs. single quotes in PHP

Posted on November 4 2009 by zemog

Almost always newbies does not care about what is going in “inside the hood” when you are developing a php project. Yes this thing that I will be talking about will not really have a big impact if you are just having small projects. But nonetheless, it is worth talking.

String Manipulation In Php

Posted on November 4 2009 by zemog

There are instances where you need to manipulate the string either it was inputted or taken from the database. This tutorial will help you find out what string manipulation function you can use.

Youtube thumbnail trick

Posted on October 31 2009 by zemog

Have you ever tried copying the embed links from youtube to your site and create a gallery of all those videos? Furthermore, you want that these videos will appear as thumbnails and when somebody will click a thumbnail, it will open a new page with a big screen.

Difference Between Cookies and Sessions

Posted on October 29 2009 by zemog

The main difference between cookies and sessions is that cookies are stored in the user’s browser, and sessions are not. This difference determines what each is best used for.

Displaying Page Load Times with PHP

Posted on October 28 2009 by zemog

When developing PHP-driven websites its often very useful to know how long your pages took to process. This not only gives you some idea of the efficiency of your websites and of the server running them, but may help you diagnose problems, benchmark code corrections/additions, etc. The best way to do this is program PHP to read the system time at the beginning of the page, scan it again near the end, and then work out the difference between the values.

Ten ways to improve your application’s performance

Posted on October 28 2009 by zemog

Do you think your programming style gives you the best performance already? Think again. Check on the ten ways to improve your apps performance.