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

browse by tag: php5

sort by

newest, oldest, most popular


category icon

Architecture Patterns: Domain Model and Friends

in PHP added by lornajane, on 24/6/2012 advanced tutorials design patterns oo programming oop php php5 techportal

An experienced developer gives us this great article with insight into a collection of patterns we can use to design our systems at a high level. This includes code for the patterns, and practical advice on choosing which is a good fit for your application

comment save report
category icon

Preventing MySQL Injection

in PHP added by rosstanner, on 30/4/2012 MySQL injection database databases mysql php php5 security

In this tutorial I am going to explain what MySQL injection is and how important it is to prevent this attack on your database(s). It is vital that all security measures are in place before you make your website live because the effects can be devastating especially if you store sensitive data.

comment 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.

comment save report
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

comment save report
category icon

Getting Web Scale with Memcached

in PHP added by goodphptutorials, on 10/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"

comment 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

comment 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

comment save report
category icon

How to Syndicate an RSS Feed On Your Site

in PHP added by Walkere, on 11/2/2008 advanced tutorials feed php5 rss xml

This quick tutorial shows you how to use Simple XML to read and manipulate an RSS feed. The end result is a few lines of code that you can use to syndicate a site's feed on your own page - adding links to relevant content for your users.

comment save report
category icon

Accessing Amazon Product Advertising API

in PHP added by goodphptutorials, on 26/5/2010 Amazon advanced tutorials oo programming php5 web service

In this post we will see how to access the Amazon Product Advertising API from PHP. Amazon has recently changed (from 15th Aug '09) the authentication mechanism for accessing their API which must now be signed with your Amazon keys

comment save report
category icon

Writing an OAuth Provider Service

in PHP added by goodphptutorials, on 23/5/2010 oauth oo programming php5

Last year I showed how to use pecl/oauth to write a Twitter OAuth Consumer. But what about writing the other end of that? What if you need to provide OAuth access to an API for your site? How do you do it?

comment save report
category icon

Migrating a Legacy Forum to vBulletin 4.0.3

in PHP added by prodevtips, on 22/7/2010 advanced tutorials content management mysql php5

How to switch from a legacy forum to vBulletin, and customizing vBulletin.

comment save report
category icon

PHP5 and OOP

in PHP added by Jordan, on 10/4/2008 Object Oriented Programming oop php5

Object oriented programming was introduced for the first time in PHP 3. But the subjects is extremely actual again in PHP 5, because the entire concept of the OOP(Object Oriented Programming) was in fact redesigned from scratch for the new version of the language (PHP 5). Hence, this tutorial would be interesting for the advanced user familiar with PHP 4 and as well for the beginners, since we will try to use more "understandable" words and examples comprehensive enough to express the real power of the object oriented programming.

comment save report
category icon

How to Use PHP To Dynamically Resize an Image

in PHP added by Walkere, on 6/2/2008 advanced tutorials image php5

Sometimes you want to display an image - but it's not stored in the right size. If you allow the browser to resize the image, it will get distorted and waste bandwidth. Instead, you can use the PHP GD library to resize the image on the fly. This tutorial will show you how to use the GD library to read an image, resize it, and output it as part of an HTML page.

comment save report
category icon

Creating a secure PHP contact form

in PHP added by sneakybox, on 6/10/2009 contact form mysql php5 secure

An in-depth tutorial explaining how to create a spammer-stopping PHP contact form for your website.

comment save report
category icon

Integrating the Authorize.Net AIM API with PHP

in PHP added by stymiee, on 23/9/2008 authorize.net ecommerce php5

Utilize a custom PHP class for integrating the Authorize.Net Advanced Integration Method (AIM) API into an ecommerce website. It includes the class and step-by-step instructions for using it.

comment save report
category icon

Mixins in PHP

in PHP added by goodphptutorials, on 5/6/2010 advanced tutorials mixin php5

One of the concepts I like in Ruby is the concept of "mixins". Mixins are a way of 'mixing in' functionality of other classes. A kind of 'multiple inheritance' like approach, only without actual inheritance. It is similar to interfaces, but interfaces only tell you that an object must implement certain methods, whereas mixins also provide an implementation.

comment save report
category icon

Scaling Web Applications with HMVC

in PHP added by goodphptutorials, on 23/2/2010 framework hmvc kohana mvc php5 scaling

The last decade has been witness to the second iteration of web design and development. Web sites have transformed into web applications and rarely are new projects commissioned that do not involve some element of interactivity. The increasing complexity of the software being developed for the internet fuelled a requirement for structured and considered application design.

comment save report
category icon

Unit Testing Databases with Zend Framework

in PHP added by lornajane, on 7/12/2010 PHPUnit advanced tutorials database database testing php5 unit testing

A detailed tutorial on using PHPUnit and Zend Framework to test operations produce the expected database results. The post gives a great background to the technique, walks you through it piece-by-piece, and offers the full code to download from github which you can use for yourself - nicely done!

comment save report
category icon

Zend Framework on a shared host

in PHP added by goodphptutorials, on 10/1/2010 framework oo programming php5 zend framework

When you deploy a Zend Framework website to a shared host, you usually cannot change the DocumentRoot to point at the public/ folder of the website. As a result the URL to the website is now http://www.example.com/public/. This doesn't look very professional, so we'd like to remove it. The easiest way, given a ZF project created using Zend_Tool.

comment save report
category icon

How to Write a PHP Script to Send a Trackback Ping

in PHP added by Walkere, on 1/2/2008 advanced tutorials http php5 ping stream trackback

This tutorial will walk you through how to write a short php script designed to send a trackback ping to a blog of your choice.

comment save report
category icon

PHP Design Patterns Reference and Examples

in PHP added by goodphptutorials, on 30/4/2010 advanced tutorials design pattern oo programming php5

Quite a comprehensive list of programming design patterns illustrated with code examples in PHP5

comment save report
category icon

Doctrine MongoDB Object Document Mapper

in PHP added by goodphptutorials, on 15/5/2010 doctrine oo programming orm php5

A question asked to me many times by many different people over the last year is, "will Doctrine ever have any support for MongoDB?". I have never really had an answer because we haven't had any official plans to support it as it was so new to the database world and php so nobody really knew much about it yet.

comment save report
category icon

Image watermark with PHP

in PHP added by webmonitore, on 22/5/2009 advanced tutorials beginner tutorials content management general php5 security

To prevent quality images being stolen, we can use PHP to watermark web-images in popular formats like GIF/PNG/JPEG. We print a transparent gif-image on a jpeg-photo in this tutorial.

comment save report
category icon

Build a Query Processor Class for Networking in PHP 5

in PHP added by goodphptutorials, on 15/3/2007 hostname ip networking php5 web service

Welcome to the first of three tutorials in a series that covers network programming in PHP. In this article you will learn how to use some useful PHP networking functions that will help you perform a variety of common networking tasks. To that end, you will build a simple networking query application in PHP 5.

comment save report
category icon

Joomla 1.5 Advanced Registration

in PHP added by prodevtips, on 5/11/2007 advanced tutorials content management php5

This tutorial shows you how to build a custom registration component with more fields and custom validation in Joomla 1.5 that you can use to override the default one.

comment save report