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

news


CodeLovely.com starts beta testing

Hi folks, I've launched a new website called codelovely where developers and web designers can get together and share links. It's like goodphptutorials, but users get to vote up or down links that are posted. So, sign up posts some links, snapshots, code or ask questions.

 

tutorials


category icon

File Handling Basics

in PHP added by goodphptutorials, on 14/9/2006 file handling

Goes over many functions and aspects about file handling that PHP has.

comment save report
category icon

DSN and DSN-less connections

in PHP added by goodphptutorials, on 14/9/2006 databases

DSN stands for "Data Source Name". It is an easy way to assign useful and easily rememberable names to data sources which may not be limited to databases alone. DSN-less connections don't require creation of system level DSNs for connecting to databases and provide an alternative to DSNs. This tutorial will show you how to connect to an Access database with a DSN and without a DSN.

comment save report
category icon

Get Remote Web Page Information Using PHP

in PHP added by goodphptutorials, on 14/9/2006 file handling

Use PHP to get the title, keywords and description of a remote web page.

comment save report
category icon

Blocking access to the login page

in PHP added by goodphptutorials, on 12/9/2006 user authentication

Sometimes you need to add an extra protection to password-protected website. This article explains how access to the login page can be restricted after three unsuccessful login attempts. This schema uses visitors IP address to store log attempts in the database and block access to login feature for 30 minutes after third unsuccessful attempt.

comment save report
category icon

Create a Web storefront with PHP and PayPal, Part 1

in PHP added by goodphptutorials, on 12/9/2006 e-commerce

This series chronicles the building of a Web storefront in PHP using PHP Data Objects to access a Derby database. The storefront includes a user manageable shopping cart that allows item purchases using PayPal, and includes the ability for merchants to notify customers via e-mail on successful orders automatically.

comment save report
category icon

The Magic __set_state Method in PHP5

in PHP added by goodphptutorials, on 10/9/2006 __set_state advanced tutorials magic methods methods php5 set_state

It is fairly self-evident how to use most of the magic methods of PHP 5. However, it is not quite so apparent how to use the __set_state method introduced in PHP 5.1. In this article, Peter lavin delves into this elusive magic method to show you how to use this gem in some really 'classy' object oriented PHP.

comment save report
category icon

Logging Script

in PHP added by goodphptutorials, on 10/9/2006 beginner tutorials

This tutorial presents very basic overview of how to log visitor data and write it to a file.

comment save report
category icon

Cake Tutorial: Building A Simple Blog - Part 2

in PHP added by goodphptutorials, on 8/9/2006 advanced tutorials bake blog cake example framework

This tutorial shows you how to use more advanced Cake methods to improve on the Baking a Blog with Cake example.

comment save report
category icon

PHP Script Tips - Working with MySQL Database

in PHP added by goodphptutorials, on 7/9/2006 databases

A collection of 21 tips on working with MySQL database. Clear explanations and tutorial exercises are provided on connecting and selecting MySQL database, creating and dropping tables, inserting, updating, and deleting rows, selecting and looping through data rows, searching by key words, setting auto-increment IDs.

comment save report
category icon

Cake Tutorial: Building A Simple Blog - Part 1

in PHP added by goodphptutorials, on 4/9/2006 cake cakephp content management framework oop

This tutorial introduces CakePHP, by walking you through setting up a simple blog and, later, adding advanced blogging features. You will learn how to make Cake map data from database records into data structures which you can present in your application.

comment save report
category icon

An overview of the CakePHP framework

in PHP added by goodphptutorials, on 3/9/2006 bake beginner tutorials cakephp framework

There are many frameworks available for the PHP programming language nowadays, and especially a lot of RAD (Rapid Application Development) frameworks which aim to make web development faster, less tedious and more organized. CakePHP was one of the first frameworks to port the RAD philosophy - which became so popular after Ruby on Rails - to the PHP programming language.

comment save report
category icon

Optimize all your databases with one script

in PHP added by goodphptutorials, on 1/9/2006 databases

This script identifies all the databases and all the tables that has access, and if is needed it optimizes them.

comment save report
category icon

Building a simple MVC system with PHP5

in PHP added by goodphptutorials, on 28/8/2006 controller model mvc oo programming php5 router view

In this tutorial you will learn how to build a simple Model-View-Controller system with PHP 5.1 and some of SPL's (Standard PHP Library) features.

comment save report
category icon

PHP Localization with TMX standard

in PHP added by goodphptutorials, on 24/8/2006 TMX advanced tutorials language localisation translation

One of the main concerns of internationalization consists of separating the main source code from the texts, the labels, the messages and all the other objects related to the specific language in use. This facilitates the translation process as such as all the resources related to the local language context are well identified and separated.

comment save report
category icon

Simple Localization with PHP

in PHP added by goodphptutorials, on 24/8/2006 content management language localisation setstring

On PHP DevCenter, Adam Trachtenberg and Joao Prado Maia have described interesting ways to localize web sites with PHP. In this article I've offered another alternative, which should be easy for non-programmers to use. We will take advantage of the user function setstring function

comment save report