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

browse by tag: php5

sort by

newest, oldest, most popular


category icon

How to Use PHP Namespaces, Part 1 The Basics

in PHP added by goodphptutorials, on 15/7/2009 namespace oop php5

Namespaces are one of the most significant changes in PHP 5.3. They will be familiar to C# and Java developers, and they are likely to change the structure of PHP applications for the better. [...] Name collision problems can be solved with namespaces. PHP constants, classes, and functions can be grouped into namespaced libraries

comment save report
category icon

MySql Prepared Statement in PHP

in PHP added by cyberhitesh, on 10/7/2009 advanced tutorials oo programming php5

I was wondering whether PHP also give a feature of Prepared Statement as you have in Java JDBC Connection. Prepared Statements are always better than normal statements as it prevent SQL Injection etc.

comment save report
category icon

How to Implement Text to Speech in PHP

in PHP added by cyberhitesh, on 10/6/2009 Festival php5 text to speech

One such application is Festival, it allows us to convert Text to Speech(WAV) format. In this article we will learn on how we can convert text to speech from PHP applications.

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

Add Power to Your PHP With Multi-Tiered Applications

in PHP added by goodphptutorials, on 16/4/2009 multi-tier mvc php5

As PHP applications become more and more complex, it can be easy to end up with a tangled mess of code that makes maintenance nearly impossible. Applying the concept of tiered applications can help to alleviate some of the difficulty in maintaining complex applications.

comment save report
category icon

PHP Tutorial on Classes, Inheritance, Polymorphism, Magic Methods & Exceptions

in PHP added by sunilbhatia79, on 15/4/2009 Inheritance Polymorphism _get _set class exceptions magic methods php5

This link contains links on various PHP5 tutorials. I have spent a lot of time learning PHP5 concepts and wish to share my learnings with you all via my blog

comment save report
category icon

Use Windows Login (Active Directory) For your PHP applications

in PHP added by Alpho011, on 10/4/2009 advanced tutorials database ldap php5

Use the username and password schemes that are already in place for logging in to your applications or websites. Great for intranet site work.

comment save report
category icon

Parsing with Zend HTTP Client

in PHP added by prodevtips, on 28/3/2009 oo programming parsing php5 zend framework

Example of how Zend HTTP Client is used when parsing statistics, logging in to sites and handling cookies.

comment save report
category icon

Creating a MySQL Database Class Using the Singleton Design Pattern

in PHP added by thatspoppycock, on 24/3/2009 design patterns mysql oo programming php5 singleton

Using the Singleton Pattern is a simple way to limit the number of instances of an object to just one, helps keep database connections organized, and saves memory. This tutorial will help you create a MySQL database class using this popular design pattern.

comment save report
category icon

MVC, XML and other animals

in PHP added by nou, on 22/3/2009 oo programming php5

This article will briefly expose the basics of the MVC pattern and put forward a template management system based on the duo XML/XSLT.

comment save report
category icon

Basic CRUD scaffolding with PHP Doctrine + Smarty

in PHP added by prodevtips, on 15/2/2009 advanced tutorials oo programming php5

Example of how a simple system for creating a CRUD interface from the information in the model classes.

comment save report
category icon

Input Validation: Using filter_var() Over Regular Expressions

in PHP added by Mojah, on 8/2/2009 advanced tutorials filter_var php5 regex

The biggest time-sink on any project, is the amount of input validation that needs to be done. You _have_ to assume your visitor is a maniac serial killer, out to destroy your application. And you have to prevent it.

comment save report
category icon

Exception Handling In PHP5 - Good Cop, Bad Cop

in PHP added by goodphptutorials, on 18/1/2009 exception php5

Exception handling. The "I'm so good, I don’t produce errors" - mentality can't even save you from them. It's bound to happen - either your code fails, or external libraries you’ve grown to accept produce faults outside of your control.

comment save report
category icon

Design Patterns Quick Reference

in PHP added by goodphptutorials, on 31/12/2008 design patterns oo programming php5

So every time I am designing something new I find myself either searching Google or opening up a gang of four (GoF) book to aid me. I searched for a bit trying to find a handy-dandy flash card showing class diagrams and purposes for the basic GoF patterns but was unable to locate a good one (for free). So I made my own.If you see any mistakes or improvements please post here and I will update the docs.

comment save report
category icon

Five common PHP design patterns

in PHP added by goodphptutorials, on 16/12/2008 advanced tutorials oo programming patterns php5

Design patterns are just for Java™ architects -- at least that's what you may have been led to believe. In fact, design patterns are useful for everyone. If these tools aren't exclusive to architecture astronauts, what are they, and why are they useful in PHP applications? This article explains.

comment save report
category icon

Freezing and Thawing PHP Objects

in PHP added by goodphptutorials, on 2/12/2008 SPL objects patch php5

One of the many new features that have been added for PHP 5.3 is the setAccessible() method of the ReflectionProperty class that is part of PHP's Reflection API. This method makes protected and private attributes (unfortunately, the class is called ReflectionProperty instead of ReflectionAttribute) of a class or object accessible for the ReflectionProperty::getValue() and ReflectionProperty::setValue() methods, thus making protected and private attributes "open" for full read and write access from the outside.

comment save report
category icon

PHP Doctrine DQL recipes

in PHP added by prodevtips, on 31/10/2008 advanced tutorials oo programming php5

A list of examples using DQL and PHP Doctrine instead of SQL.

comment save report
category icon

Access Control [PDF]

in PHP added by nirajam, on 19/10/2008 content management mysql php5

This tutorial gives the outline of a highly flexible role-based access control system. The tutorial helps in establishing principles using standard notions of RBAC. It also teaches you the code for administering RBAC and explains how questions about access can be answered.

comment save report
category icon

Extending PHP Doctrine Record

in PHP added by prodevtips, on 15/10/2008 advanced tutorials database oo programming php5

Here we extend PHP Doctrine records fromArray function to allow for check box group relations to be inserted in a straight forward way.

comment save report
category icon

Using an autoload function to make your life easier

in PHP added by clearnetwork, on 11/10/2008 advanced tutorials general oo programming php5

In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.

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

Trackbacks with Google Blog Search and Zend Feed

in PHP added by prodevtips, on 21/9/2008 oo programming php5 rss zend feed zend framework

Tutorial on how to fetch the external links to any given article through Google Blog Search's Atom feature and displaying them as a list of trackbacks. With this implemented your blog readers will get the complete picture of the off-site discussion.

comment save report
category icon

FirePHP and Zend Framework 1.6

in PHP added by goodphptutorials, on 12/9/2008 Zend debug firebug firephp php5

Christoph Dorn has released an interesting tutorial titled FirePHP and Zend Framework 1.6 over on his blog. In it (as you can most likely deduce from the title) he gives a quick rundown on how to get up and running with the new FireBug/FirePHP integration that comes with Zend Framework 1.6.

comment save report
category icon

File Uploads with PHP Doctrine

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

An example of how to integrate uploads into the Doctrine validation process.

comment save report
category icon

CRUD with PHP Doctrine

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

Implementing reusable Create Remove Update and Delete logic with PHP Doctrine.

comment save report