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

browse by tag: php

sort by

newest, oldest, most popular


category icon

A pluggable compiler and virtual machine in Php. Dogfood yourself with your own plugins!

in PHP added by eriksank, on 30/4/2012 advanced tutorials framework oo programming php

If you think compiler construction in a scripting language, such as Php, is indeed more fun than doing it in traditional C, you will like the following article too! We keep building our little compiler and virtual machine in Php. It now built entirely from plugins. Now you can take 5 minutes to create your own small plugin, to extend and improve the compiler and virtual machine. This has never been done before.

21 comments save report
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

19 comments save report
category icon

CSV Export with Symfony 2

in PHP added by charliepage, on 8/6/2012 csv framework mysql php

A short tutorial on creating a CSV Export feature with the Symfony 2 framework. Included is some sample code for the controller action, the routing for the action and html twig template file.

3 comments 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.

11 comments save report
category icon

Load More Using KnockoutJS, PHP/CodeIgniter (Part 1)

in PHP added by iFadey, on 5/6/2012 AJAX JavaScript knockout mvvm php

Everyone has used social networking sites and almost all of them implement Load More functionality to load additional posts/messages. Load More is actually alternate way of pagination. There are two kinds of Load More functionality. First is to load additional content when the user hits the scrollbar at the bottom of the page. Another kind is to load new content only when user clicks on “Load More” button. Personally I prefer the second one because it reduces the load on server and load content only when user wants it and in this article we will take a look at implementing this second kind.

15 comments save report
category icon

Dynamic Thumbnails from Websites

in PHP added by finalwebsites, on 16/2/2007 file media php thumbnail web service

This tutorial will show you how to create dynamic thumbnails from websites using the thumbnail service Girafa.

comment save report
category icon

Create Thumbnail Images using PHP

in PHP added by Nolte, on 20/2/2007 dynamic gd2 image media php thumbnail

This tutorial will describe how to create thumbnail images on the fly using PHP. Furthermore you will learn how to process a whole folder of images and create their thumbnails. Since this requires the GD library, you will need an installation of PHP with at least GD 2.0.1 enabled.

9 comments save report
category icon

GD Library Bar Chart

in PHP added by PartDigital, on 5/5/2007 Chart GD Library Graph dynamic media php

Create a dynamic bar chart with PHP and GD Library.

comment save report
category icon

The Practicality of OO PHP

in PHP added by goodphptutorials, on 18/10/2006 design object oo programming oop php

There seems to be a common pitfall among some PHP developers--especially those just beginning PHP programming--and that is their lack of object-oriented (OO) PHP use. This article's purpose is to inform developers about the practicality of OO PHP; fully understanding the benefits of using OO PHP should be a requirement in the PHP learning process.

comment save report
category icon

Export Database Schema as XML

in PHP added by Nolte, on 14/2/2007 databases mysql php schema xml

Sometimes it can be useful to have a dump of the current database schema. This script reads the schema from a MySQL database and outputs XML that describes the schema.

comment save report
category icon

Writing a Custom Magento Module

in PHP added by lornajane, on 2/5/2010 advanced tutorials customisation ecommerce magento open source php zend framework

Magento module-building tutorial with example code shown and to download. Magento is an open source PHP ecommerce tool built on Zend Framework, this tutorial is a must-read for developers using this package

comment save report
category icon

Profiling with XHProf

in PHP added by lornajane, on 12/1/2010 benchmark optimisation php profiling scaling tutorial xhprof

Tutorial on using the XHProf tool, developed by facebook and released under the apache license, to look for bottlenecks and optimise performance

comment save report
category icon

CI for PHP with Hudson

in PHP added by lornajane, on 26/9/2010 advanced tutorials best practice continuous integration php

A step-by-step tutorial for setting up Hudson as a build and continuous integration server for a PHP project. The author, Ben Longden, has great experience with this and it shows in this clear and approachable post

comment save report
category icon

Working with Directories

in PHP added by Nolte, on 22/2/2007 directories file handling iterators php php5 recursion

As is necessary for any language, PHP has a complete set of directory support functions. PHP gives you a variety of functions to read and manipulate directories and directory entries. Like other file-related parts of PHP, the functions are similar to the C functions that accomplish the same tasks, with some simplifications. This tutorial describes how PHP handles directories. You will look at how to create, remove, and read them.

comment save report
category icon

HowTo: Install Firebird/Interbase with PHP on Windows

in PHP added by quipo, on 10/2/2007 configure database databases firebird install php php5 sql

A step-by-step tutorial to install Firebird SQL on Windows and enabling its usage in PHP.

comment save report
category icon

How to write a PDF from PHP with a custom font and encoding

in PHP added by prodevtips, on 5/11/2007 advanced tutorials php

This is a description of how to go about writing PDF documents from PHP in any font and language.

comment save report
category icon

A (safe) contact form using Xajax and PHPmailer

in PHP added by finalwebsites, on 30/4/2007 AJAX advanced tutorials forms php phpmailer xajax

Try this tutorial to create web form to send e-mails to ONE e-mail address without having problems with spambots. The e-mail is send with SMTP and the form is processed with Xajax.

comment save report
category icon

AJAX Suggest Tutorial

in PHP added by goodphptutorials, on 21/2/2006 AJAX JavaScript advanced tutorials google suggest php suggest

This tutorial will walk you through creating a search suggest similar in fashion to that of Google Suggest using AJAX technologies.

comment save report
category icon

Basic Plugin/Event Architecture

in PHP added by AKnife, on 15/5/2007 abstraction advanced tutorials events php plugins

Any complicated application will require some level of abstraction on top of the programming language itself; a strong plugin and event architecture can make for strong reusable components, as well as clean, easy to manage code.

comment save report
category icon

Open Source licensing for PHP scripts

in PHP added by goodphptutorials, on 3/12/2005 beginner tutorials gnu license open source php

You've managed to write your first "useful" PHP script, and want to make it open source, let the world enjoy your work.

comment save report
category icon

Handling UTF-8 with PHP

in PHP added by goodphptutorials, on 16/12/2007 character encoding internationalisation php utf8

This article is intended as a reference for functionality PHP provides which can either help with handling UTF-8 or should be regarded as a risk when used in conjunction with UTF-8 encoded strings.

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

Making XML/XSLT driven site using PHP

in PHP added by AnyExample, on 23/4/2007 advanced tutorials php xml xsl xslt

This article contains an example of simple PHP-engine for XML/XSLT driven web-sites which implements simple caching techniques and Apache-based XML file processing.

comment save report
category icon

Simple AJAX Library

in PHP added by AKnife, on 13/5/2007 AJAX JavaScript advanced tutorials php

Javascript and PHP make for a powerful combination allowing instant user-feedback via this simple AJAX library

comment save report
category icon

AJAX Chat Part Tutorial 6 : Updating the User List

in PHP added by CalEvans, on 8/1/2007 AJAX media mysql php zend framework

This is Part 6 of a 7 part tutorial on how to create an web based chat application using Ajax, MySQL and the Zend Framework.

comment save report