want to join us? register, it's easy | help

browse by tag: beginner tutorials

sort by

newest, oldest, most popular


category icon

PHP Exception Handling

in PHP added by goodphptutorials, on 21/11/2007 beginner tutorials exception php5

With PHP 5 came a new object oriented way of dealing with errors. Exception handling is used to change the normal flow of the code execution if a specified error (exceptional) condition occurs. This condition is called an exception.

comment save report
category icon

Beginners PHP Part 1

in PHP added by Slipszenko, on 25/11/2007 beginner tutorials general php

A tutorial for total beginners to PHP.

comment save report
category icon

Beginners PHP Part 2

in PHP added by Slipszenko, on 26/11/2007 beginner tutorials general php

A tutorial for complete beginners to PHP.

comment save report
category icon

Beginners PHP Part 3

in PHP added by Slipszenko, on 27/11/2007 beginner tutorials general

The last in the series of tutorials for absolute beginners to the PHP language

comment save report
category icon

Using Type Juggling/Type Casting to Modify Data Types

in PHP added by goodphptutorials, on 30/11/2007 beginner tutorials types

We're going to be dealing with type juggling in this article. This is the process of instructing PHP how to handle the value after the type juggling. Type juggling can do absolutely all sorts, from converting integers to floats, arrays to objects, and even strings to binary as of PHP 5.2.1. It can also save you calling various functions and thus making your script quicker!

comment save report
category icon

An Introduction to the Art of Unit Testing in PHP

in PHP added by CalEvans, on 4/12/2007 PHPUnit beginner tutorials simpleTest testing

Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed. In PHP such tests are usually written using a unit testing framework, a framework which allows the source code of any application or library to be tested as isolated units of functionality such as a single class or method. As unit testing has gained popularity, it has become a standard practice in PHP with libraries and frameworks such as Swiftmailer, the Zend Framework and Symfony all requiring unit test coverage of their source code.

comment save report
category icon

Uploading Image Files with PHP

in PHP added by bs0d, on 9/12/2007 beginner tutorials database file handling mysql upload files

This article will guide you through step-by-step to learn how to upload and manage files using PHP.

comment save report
category icon

Using Stored Procedures & MySQLI in PHP 5

in PHP added by rvdavid, on 11/12/2007 beginner tutorials database mysql oo programming php5

For the occasions that you want to use a stored procedure you've written in MySQL 5 through PHP , the semantic tool to use is PHP's built in mysqli objects/package.

comment save report
category icon

htaccess: Stop Page Not Found Errors when site changes

in PHP added by designertuts, on 13/12/2007 beginner tutorials htaccess

Its a problem I come across often. Someone does a complete site redesign and all the filenames and paths have changed. They are really pleased with their new site. But what they don't realise is their users aren't so happy. Why? Well perhaps they have bookmarked one of your old pages. Or perhaps they type a search phrase into a search engine and it returns a link to your old pages. In both cases they will get "Page not found".

comment save report
category icon

Building a Comments Script

in PHP added by bs0d, on 14/12/2007 beginner tutorials comments mysql

This tutorial will guide you through the process of building a comments script with PHP. The comments script will use a mySQL database to store and retrieve information. Its not too advanced, but additional features can easily be added, such as a delete feature and implementing usernames

comment save report
category icon

Becoming PHP 6 Compatible

in PHP added by goodphptutorials, on 18/12/2007 beginner tutorials compatibility php6

If you want to make use of PHP 6 when it comes, you're going to have to write your new scripts so they are compatible, and possibly change some of your existing scripts.
To start making your scripts PHP 6 compatible, I've compiled a list of tips to follow when scripting.

comment save report
category icon

How to Install PHP 5 on Linux

in PHP added by goodphptutorials, on 21/12/2007 beginner tutorials installation linux php5

This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all Linux-like operating systems.

comment save report
category icon

Creating a simple login script with php and mysql

in PHP added by ineedtutorials, on 31/12/2007 beginner tutorials content management mysql security

Learn to create a simple login system with php and mysql in 7 simple steps

comment save report
category icon

Display how many visitors online

in PHP added by ineedtutorials, on 3/1/2008 beginner tutorials database general oo programming php5

Ever wonderd how to display how many visitors you have online. In this tutorial i will show you an easy but effective way to display the amount of online visitor’s.

comment save report
category icon

Sorting 2D-arrays in PHP

in PHP added by prodevtips, on 6/1/2008 array beginner tutorials general

How to use array_multisort to sort tables by column.

comment save report
category icon

Easy as Pie - Working with a Database

in PHP added by goodphptutorials, on 20/1/2008 beginner tutorials database mysql

This post is the third in a continuing series of DIY tutorials, which aims to make things as simple as possible. The [Easy as Pie] series focuses on tasks that most people consider too challenging and presents it in a way that is easy (as pie!) to understand.

comment save report
category icon

Install Apache Web Server on Windows Vista [flash video]

in PHP added by goodphptutorials, on 23/1/2008 apache beginner tutorials installation

A quick flash video showing how to install Apache on Windows Vista.

comment save report
category icon

How to Use PHP's Crypt() Function to Encrypt and Check a Password

in PHP added by Walkere, on 28/1/2008 beginner tutorials encryption passwords php5 security

This tutorial will walk you through using PHP's crypt() function to effectively encrypt a password for storage in a database and later check that password against a user's input.

comment save report
category icon

How to Generate a Random Password for Users

in PHP added by Walkere, on 10/2/2008 beginner tutorials password php5 security users

This tutorial shows you how to create a random, 8-character password to use in your user-management system.

comment save report
category icon

Welcome to Cookies

in PHP added by charliepage, on 18/2/2008 beginner tutorials cookies

Cookies are just a basic aspect of PHP, but can be used in so many things. From logging in and out a user on your website to keeping the name of the skin they use on your website. Below I will explain how to set (add) a cookie, delete one and then display/check one. I will first show the PHP code and then explain it.

comment save report
category icon

Slider in PHP, Ajax And Javascript

in PHP added by phphungry, on 23/2/2008 AJAX JavaScript beginner tutorials mysql slider

cool nice slider which is implemented using javascript , Ajax and PHP

comment save report
category icon

Deleting record with Ajax using prototype.js and PHP

in PHP added by woork, on 12/3/2008 AJAX beginner tutorials database mysql

This tutorial explains how to use prototype.js framework an PHP to delete a record from a database with Ajax. This is a simple overview with basic features you can use and improve in your web projects.

comment save report
category icon

PHP components: Autosuggest

in PHP added by woork, on 25/3/2008 AJAX beginner tutorials databases mysql

A simple "PHP component" (8Kb), ready to use, to implement a search form with an autosuggest feature using PHP and MySQL just modifying some parameters.

comment save report
category icon

Easy IP to country lookup

in PHP added by prodevtips, on 27/3/2008 beginner tutorials geo-ip networking

Check which country your visitors are coming from with an easy to use open database.

comment save report
category icon

Working With UK Postcodes

in PHP added by porteightyeight, on 31/3/2008 beginner tutorials postcode

This short post provides you with a table for converting postcodes into counties. I created the table from a variety of sources for a recent project where I needed to be able to map user's postcodes to counties.

comment save report