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

news


RSS Feed

I've just fixed a problem with the site's RSS feed - now it should validate properly. [posted on 31/10/2007]

Tutorial Submission

To get a PHP tutorial submitted to this site, just create a free account. Once you do this, there will be a "add a tutorial" link on the top right [posted on 30/10/2007]

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

BDD in PHP with Behat

in PHP added by lornajane, on 7/8/2011 PHPUnit advanced tutorials bdd behat php5 tdd techportal unit testing

Great article showing how BDD can be more intuitive than TDD, and showing you how to get started. The author, Marcello Duarte, is the lead developer of PHPSpec and an experienced software project lead and trainer

10 comments save report
category icon

Creating web services using PHP

in PHP added by dibosite, on 25/4/2011 soap webservice

learn how to create your first web service in php

12 comments save report
category icon

Create an advanced PHP membership system,

in PHP added by thetitan, on 23/4/2011 advanced tutorials beginner tutorials content management general oo programming

Develop an advanced and extendable PHP MySQL membership system for use on your website.

286 comments save report
category icon

Why PHP Was a Ghetto

in PHP added by goodphptutorials, on 20/4/2011 general

I was talking with the Co-founder of a pretty cool start-up in DUMBO the other day about why the non-PHP development world generally has such disdain for PHP and the community surrounding it. He brought up an interesting point that stuck with me, largely because I hadn’t heard it before.

4 comments save report
category icon

Tutorial: How to Create a Zip File with PHP / MySQL

in PHP added by anthonydamasco, on 3/4/2011 CMS export mysql zip

Recently I added a function to a CMS that I have been evolving to meet the needs of ereads.com. I needed to allow users to select items (in this case ebooks) from the system and then export files that are attached to the books. So lets get started!

266 comments save report
category icon

PHP array pagination

in PHP added by python, on 3/4/2011 CMS array content flat file pageinate pages pagination

Pagination is widely used in database systems but is often not considered for flat file systems. This tutorial will teach you how to offer pagination for simple and complex PHP arrays.

3 comments save report
category icon

Detailed Guide to fwrite() Operations

in PHP added by BrandonEnr7, on 24/3/2011 advanced tutorials file handling php5

In this tutorial I will be deeply explaining in detail the many modes of the PHP function fwrite(). Yes, fwrite() is used to write data to files, however the way it is written to the file changes with each mode. In each mode, I will explain its purpose, provide an example, and then explain the code within the example.

283 comments save report
category icon

PHP Caching to Speed up Dynamically Generated Sites

in PHP added by goodphptutorials, on 23/2/2011 beginner tutorials cache

This entire site, like many, is built in PHP. PHP provides the power to simply 'pull' content from an external source, in the case of my site this is flat files but it could just as easily be an MySQL database or an XML file etc..

2 comments save report
category icon

Getting Web Scale with Memcached

in PHP added by goodphptutorials, on 9/2/2011 advanced tutorials memcache php5

The web is huge, and there are a lot of people on it. Day and night, millions upon millions of people are on the web surfing, commenting, and contributing. Normally your blog gets a few hundred visitors a day ( a few thousand on a good day ), but what happens when that number increases? Can your database server handle all that load? Will Apache come screeching to a halt due to all of the requests? The answer is probably yes, unless you implement some form of caching. Many years ago this wasn’t a huge problem, but as the web and it’s user base has grown, so has the problem of "web scale"

5 comments save report
category icon

Prism: a new highlighting engine

in PHP added by goodphptutorials, on 4/2/2011 php5 syntax

A new PHP5 syntax highlighter

252 comments save report
category icon

WordPress Theme Using jQuery Mobile

in PHP added by iFadey, on 29/1/2011 jquery mobile theme wordpress

Learning Objectives 1) Introduction to jQuery Mobile. 2) How to use jQuery Mobile Components. 3) Basics of WordPress theme development. 4) How to create WordPress theme for mobile using jQuery Mobile.

4 comments save report
category icon

ToroPHP - a tiny framework for PHP

in PHP added by goodphptutorials, on 15/1/2011 framework php5

A new web framework for PHP which aims to be very small and fast

3 comments save report
category icon

Getting start and end date of week in PHP

in PHP added by prodevtips, on 15/1/2011 date and time simple tutorials

How to get the start and end date of the prior week to the current one in PHP.

3 comments save report
category icon

How To Safely Store A Password

in PHP added by goodphptutorials, on 13/12/2010 bcrypt beginner tutorials security

These are all general purpose hash functions, designed to calculate a digest of huge amounts of data in as short a time as possible. This means that they are fantastic for ensuring the integrity of data and utterly rubbish for storing passwords.

4 comments save report
category icon

25 Tips for Intermediate Git Users

in PHP added by goodphptutorials, on 8/12/2010 git version control

I’ve been using git for about 18 months now and thought I knew it pretty well. Then we had Scott Chacon from GitHub over to do some training at LVS, a supplier/developer of betting/gaming software (where I’m currently contracting) and I learnt a ton in the first day.

5 comments save report