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

browse by tag: php5

sort by

newest, oldest, most popular


category icon

Marrying Smarty and PHP Doctrine

in PHP added by prodevtips, on 20/8/2008 advanced tutorials mvc oo programming php5

Tutorial with source code describing how to create a small MVC framework where PHP doctrine is responsible for the models and Smarty for the views. The controller we make ourselves.

comment save report
category icon

PHP Doctrine introduction for dummies

in PHP added by prodevtips, on 18/8/2008 database oo programming php5

Short tutorial on how to create tables in a database and fetch information from said database with the Doctrine Object Relational Mapper.

comment save report
category icon

Combining jQuery with the Zend Framework and Smarty

in PHP added by prodevtips, on 25/6/2008 AJAX advanced tutorials php5

Showcasing how jQuery can be used in combination with the most popular templating engines for PHP and a popular PHP framework with a simple example.

comment save report
category icon

Extending Zend DB Table

in PHP added by prodevtips, on 19/6/2008 advanced tutorials oo programming php5

Shows how you can extend the Zend DB Table which is an important part of the popular PHP framework, in order to do less database coding.

comment save report
category icon

PHP: Be Notified When Google Crawls Your Site

in PHP added by adzeds, on 3/6/2008 beginner tutorials crawl general google mysql php5

Have you ever wanted to know when Google crawls your website? Well now you can using a simple PHP script which emails you everytime GoogleBot crawls your site.

comment save report
category icon

Effective In-Function Caching With PHP5

in PHP added by porteightyeight, on 9/5/2008 advanced tutorials cache php5

In-function caching can often be used to greatly improve the performance of our software. Applying this technique effectively is important to avoid spiraling memory usage and bizarre bugs that can be caused by old cache data lingering around.

comment save report
category icon

Integrate the Authorize.Net Customer Information Manager (CIM) API with PHP

in PHP added by stymiee, on 30/4/2008 authorize.net ecommerce payment gateway php5

Get a basic tutorial and free code to use Authorize.Net's Customer Information Manager API to create subscriptions and store credit card data while being PCI compliant.

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

Desktop Application Development with PHP-GTK

in PHP added by gpt, on 31/3/2008 advanced tutorials desktop applications gui oo programming php5

PHP-GTK 2 is out, and with it, a fantastic means for PHP developers to build useful, reliable cross-platform desktop applications. In this tutorial, I'll show you how to get up and running with PHP-GTK in no time and build your first desktop application.

comment save report
category icon

Stay away from Bloated Class Methods, actually, bloated ANYTHING!

in PHP added by rvdavid, on 22/3/2008 classes methods oop php5 principles tips

Why are there so many examples of bloated PHP methods out there?! I see a lot of bloated methods being used in examples through sites like phpclasses.org and a very large chunk of a project I’ve recently picked up which a few developers have worked on. Guys! remember! There is no good reason to bloat your methods to over 10-20 lines long and on the rare occasions that you do exceed 10 - 20 lines it would be more the exception to the rule as opposed to being the rule itself!

comment save report
category icon

Integrate the Authorize.Net Recurring Billing API with PHP

in PHP added by stymiee, on 10/3/2008 authorize.net ecommerce payment gateway php5 recurring billing subscriptions

Get a step-by-step tutorial and free code to use Authorize.Net's recurring billing API to create subscriptions for your e-commerce website.

comment save report
category icon

Advanced Zend Feed usage

in PHP added by prodevtips, on 9/3/2008 advanced tutorials oo programming php5

Parsing an item in multiple categories can be tricky, this tutorial shows you how.

comment save report
category icon

How to Create an RSS Feed for Your Site in PHP

in PHP added by Walkere, on 1/3/2008 advanced tutorials feed file handling mysql php5 xml

An RSS feed is a great way to serve up your content to users. However, if you're not using a standard CMS or blogging platform you may not have an RSS feed generated for you automatically. This tutorial will show you how to create an RSS feed in a few simple steps. If you can query your database to get information about your articles, you can complete this tutorial and build a custom feed.

comment save report
category icon

Digg API: How to Get a Random from Digg with PHP and XML

in PHP added by Walkere, on 26/2/2008 advanced tutorials media php5 xml

This tutorial walks you through using the Digg API to fetch a random story from Digg and display it on your own site. Good introduction to using the Digg API for content syndication. Uses PHP 5 and XML.

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

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

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 Your Own Exception Classes

in PHP added by tutorialhelpdesk, on 3/2/2008 class exception php5

Learn to get control over how (or if) error messages are displayed to users, even though you're using several third-party libraries that each have their own views on handling errors.

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

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

PHP HTTPRequest Class

in PHP added by rvdavid, on 11/1/2008 advanced tutorials oo programming php5 request handling

By default, request data in PHP is handled by using Super Globals ($_POST, $_GET, $_COOKIES). Globals are bad for several reasons (outside the scope of this example google here). In an effort to remedy this, we need a way to encapsulate the request data into an object. By doing this, we are centralising access to request data through the one channel - the HTTP Request object.

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

PHP Captcha Tutorial (in-depth)

in PHP added by techusky, on 2/1/2008 advanced tutorials captcha php5 security verification

This CAPTCHA script allows a user to easily customize things such as the string length, minimum and maximum font size, image size, the font used, and even the characters used, etc... Unlike most CAPTCHA scripts that generate the random text based on an md5 hash of the time, this one lets the user input specific numbers, uppercase, and lowercase characters they want used (or don't want used) in the creation of the CAPTCHA image. It also assures, regardless of the length of the string, that there is at least both 1 random upper and lowercase character in the string, thus making it more difficult for bots. Another feature in this script is that it randomly rotates each character on the image.

comment save report
category icon

Auto Loading Classes in PHP 5

in PHP added by goodphptutorials, on 23/12/2007 advanced tutorials autoloading php5

Undoubtedly, the release of PHP 5 has had a remarkable impact on the way that object-oriented applications are developed nowadays. This highly-improved model has provided PHP programmers with features that were only present in mature object-based languages, like Java and C++, but now, fortunately for you and me, they are generously offered by this powerful server-side scripting language.

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