Site Meter

 


Home  | Contact Us  |  Login  | 

General
PHP Articles
PHP Tutorials
PHP FAQs
PHP Code snippets
PHP Listings
Mailing Lists
Resources
Test center
Community
Job center
Candidates
Employers
Support
Refer Friends
Submit Code snippets
Submit Articles
Add Listings
News and Events
PHP.net News
Zend Company News
Zend Press News
Zend Events
PHP Developer Zones
Dzone
Zend Developer Zone
PHPClasses
Latest Classes
Video Tutorials
Reviews
Trackbacks
Add to Favorites.. Share it..
IE user Click Here
Fx user press ctrl + D
Blinklist Blogmarks del.icio.us Digg Ma.gnolia My Web 2.0 Newsvine Reddit Segnalo Simpy Spurl Wists Technorati add to furl add to netscape add to stumbleupon add to windows live add to yahoo myweb add to ask add to google
PHPDEVELOPER - PHPBuilder.com: Email Forms in PHP : -- Top
Date Added :23rd August 2007

A new tutorial on PHPBuilder.com gives a quick look at creating a form combining HTML and PHP that can send out emails to the address of choice.

Like any email form, the original form itself is quite simple. No great shakes here, just a standard HTML form with a POST method and the action pointing to the PHP page that will process the form results.

Included in the short tutorial are the HTML for the form, the PHP to process the email information from the form and the code to send it all out.

It's also important to note that they defined the email address to send it to in the PHP code handling the POST request. If you allow your user to define the email address, you're begging for spammers to come around and abuse it.

Read More >>
PHPDEVELOPER - Tim Koschuetzki's Blog: How To Transform HTML To Textile Markup - The CakePHP TextileHelper Revisite : -- Top
Date Added :23rd August 2007

Tim Koschuetzki has a new tutorial posted today for CakePHP users out there - it's a method for transforming HTML content into Textile markup via the TextileHelper CakePHP helper.

For a current project of mine I had to find a way to decode html into textile markup. Why? Because we are using tinyMCE to process our textareas as wyciwyg editors, which generate HTML. However, we want all output controlled via textile to allow only the textile tags. Yes, we could do it with strip_tags(), but textile is much more elegant. Plus, it was a requirement by the client. Come on and find out how to detextile html.

Code is included to work on the transformation: detextile, processTag, detextile_process_glyphs and detextile_process_lists. An example is included as well, showing how to input a block of HTML content to be "textile-ized". The full code is available for cutting and pasting at the bottom of the post.

Read More >>
PHPDEVELOPER - Stefan Mischook's Blog: Object Oriented PHP Tutorial Released : -- Top
Date Added :23rd August 2007

Stefan Mischook has updated his "Object Oriented PHP for Beginners" tutorial with more new steps bringing the count up to 11 of the 20 planned steps.

Based on an article I wrote for a web design magazine; the tutorial is presented as a series of simple steps where I walk the reader through the process of building objects while at the same time, exposing them to basic object oriented concepts.

Eventually, he will be producing videos similar to these for all of the sections to help make things easier for the beginners out there.

Read More >>
PHPDEVELOPER - DevShed: Drawing More Complex Shapes with the GD Library in PHP : -- Top
Date Added :22nd August 2007

DevShed has posted part four of their series looking at the creation of graphics in PHP using the GD functionality. They take things a step further from the previous part and show how to create more complex shapes.

They show how to create things like:

Read More >>
PHPDEVELOPER - Zend Developer Zone: AJAX Chat Tutorial Part 6 : Updating the User List : -- Top
Date Added :22nd August 2007

The Zend Developer Zone has posted part six of their tutorial creating an Ajax chat application with the help of the Zend Framework. This part of the series focuses on updating the user list for the current participants in the conversation.

Updating the user list should occur whenever the user adds a new chat message or refreshes the chat window. Since we already use the MessageAction() method on our PHP IndexController class to forward such responses to the browser, we'll simply amend it to also return a list of currently online users.

They work through the code updates to make it happen - changes to the MessageAction in the IndexController that include the addition of a few new methods.

Read More >>
PHPDEVELOPER - DevShed: Drawing Functions and the GD Library in PHP : -- Top
Date Added :21st August 2007

DevShed continues their series looking at the use of the graphics functionality in PHP, GD, with part three - a focus on more of the associated functions.

In this third article of the series I'll show you how to take advantage of a few more handy functions integrated with this library. These function will help you perform some basic drawing operations on a specified image stream.

They look at five new functions: imagearc, imagechar/imagecharup and imageellipse/imagefilledellipse with code examples for each.

Read More >>
PHPDEVELOPER - DevArticles: Learning AJAX : -- Top
Date Added :20th August 2007

A new introductory tutorial over on DevArticles looks to help you get acquainted with Ajax through its use in both PHP and JSP:

This is a two-part article. In these two parts I'll try to describe what AJAX is, and how to use AJAX in PHP and JSP. Later we will use some advanced JSP tag libraries to make cool AJAX-based web applications.

This first part looks at the basics of the connection - the XMLHttpRequest object and a simple example putting it to use grabbing the latest date from a background PHP or JSP script (complete with screenshots of the end result).

Read More >>
PHPDEVELOPER - PHPBuilder.com: Dynamic XML with PHP : -- Top
Date Added :20th August 2007

PHPBuilder.com has a new tutorial posted today with a look at the easy creation of dynamic XML with the data from a database.

In this article I will show how to generate dynamic XML documents with Object-Oriented PHP. Before I get started, let's get right to the heart of this functionality. Although the code may look fancy, being packaged up inside objects and inheritance, the key elements of this functionality rest in the the mysql_list_fields() and mysql_num_fields() functions.

The XML is built manually with the tags assigned to a string as they are built. The information is from a simple query to select all from a user-defined table and is output with a UTF-8 character encoding. They also include a Javascript (download) that helps in making an XMLHttpRequest connection to fetch the XML you've created and pull it in.

Read More >>
PHPDEVELOPER - DevShed: Creating Image Streams from Existing Graphics with the GD Library in PHP : -- Top
Date Added :20th August 2007

DevShed continues its look at using the GD graphics library in PHP with the second part of the tutorial series, this time focusing on the creation of images from existing images (and their streams).

As I stated at the end of the previous article of this series, the GD extension comes packaged with many other useful functions, which indeed deserve a close and detailed look. Thus, in this second tutorial I'll show you how to create different types of image streams from existing graphics, but in this case limiting the process to building GIF, JPG and PNG images.

They work through each of the types (GIF, JPG and PNG) creating an new one from a previous "clouds" image of the same type (a GIF out of a GIF, a JPG from a JPG, etc).

Read More >>
PHPDEVELOPER - The Bakery: Six New Articles/Tutorials Posted : -- Top
Date Added :17th August 2007

The Bakery has six new articles/tutorials they've added to their long list today including topics like ecache, working with behaviors and using Eclipse with CakePHP. Here's the list:

Be sure to check out The Bakery for more great CakePHP related content.

Read More >>
PHPDEVELOPER - Devshed: A Close Look at the GD Library in PHP : -- Top
Date Added :16th August 2007

In a new article today, DevShed takes a closer look at the most popular graphics library for PHP - GD:

The GD library comes bundled with both PHP 4 and PHP 5. While it is a popular library that has been around for a while, many web developers do not take full advantage of its capabilities. In this five-part series, we will take a close look at what the GB library can do for you, especially in the area of dynamically-generated graphics.

This first in the five part series introduces the library showing how to make images from scratch in two ways - the more "normal" method and an alternate method using streams (which they use to create a dynanmic GIF image).

Read More >>
PHPDEVELOPER - MakeBeta Blog: Scraping Links With PHP : -- Top
Date Added :15th August 2007

From Justin Laing over at Merchant OS there's a new tutorial on creating a simple link scraper with the help of PHP and the cURL extension.

In this tutorial you will learn how to build a PHP script that scrapes links from any web page. You learn how to use cURL, call PHP DOM functions, use XPath and store the links in MySQL.

You'll have to have PHP5 and the cURL extension enabled on your web server to make it all work, but the code is all there ready for you to cut and paste. The application grabs the page with cURL (including the possibility to fake your user agent), parses through the HTML with the DOM and XPath functionality to grab the links and uses the MySQL methods to store them into your database.

Read More >>
PHPDEVELOPER - DevShed: Developing SOAP Clients using PHP : -- Top
Date Added :15th August 2007

DevShed has a new article posted today - a tutorial walking you through a sort of brief history of SOAP support in PHP and some working examples of each - NuSOAP, PEAR::SOAP and PHP's SOAP extension.

SOAP (Simple Object Access Protocol) provides a flexible communication layer between applications, regardless of platform and location. As long as both the server and the client speak SOAP, they can communicate. A PHP-based web application can ask a Java database application to get some information. In this article we will try to focus on different methods of developing SOAP web service clients in PHP.

They start with a look at NuSOAP and the creation of both a client and server (as well as an example on how to use some of its debugging. Next up is PEAR::SOAP, a powerful package that simplifies much of the same functionality NuSOAP has to offer. Finally, they get to the most recent SOAP functionality for PHP, the PHP SOAP extension that comes loaded with PHP5 installations by default. This includes a brief overview of its API and code examples that, in a few lines, do what takes the others twice as much.

Read More >>
PHPDEVELOPER - PHP-Learn-It.com: Ajax Edit in Place : -- Top
Date Added :14th August 2007

From the PHP-Learn-It.com website, there's a quick tutorial on how to create a bit of edit in place functionality with some simple Javascript and PHP.

Suppose we have an article page on our site where people can edit articles. The article has an edit and save button which allows the user to edit the article and save the changes as necessary. View the ajax_edit_in_place demo to see what I'm talking about.

They've gone with Prototype to handle the AJAX connection and provide both the Javascript and PHP code for editing, saving and canceling an edit on the page's content.

Read More >>
PHPDEVELOPER - DevShed: Completing a Search Engine with MySQL and PHP 5 : -- Top
Date Added :13th August 2007

DevShed finished up their series on creating a search engine for MySQL with PHP in this latest article, finishing off the application with its HTML frontend.

In the previous article I showed you how to spawn the results returned by a specific search query across different web pages, so in this last part of the series I'm going to complete this search application by fixing a concrete issue associated specifically with paginating MySQL data sets.

They review the code they've created so far for the search engine and push on with the creation of a web page generation class to handle the output of the paginated results.

Read More >>
PHPDEVELOPER - SitePoint PHP Blog: pTest: PHP Unit Tester in 9 Lines Of Code : -- Top
Date Added :13th August 2007

On the SitePoint PHP blog, there's a new post from Paul Annesley about his latest creation - a nine line unit tester for PHP, pTest.

I was recently working on a command line PHP tool, and didn't have easy access to our normal PHP unit testing framework built around SimpleTest. [...] I didn't need support for mock objects or complicated assertions - just a bare basic assertTrue() would do the trick.

He includes the code (of course) and an example of it in action, three tests with their assertions. It's a simple little tool made of a simple purpose, a starting place for developers just learning unit testing to learn from.

Read More >>
PHPDEVELOPER - Chris Cassell's Blog: Creating Magic Methods in PHP : -- Top
Date Added :13th August 2007

In this new entry to his blog today, Chris Cassell shows how to create "magic methods" - ones that make use of overloading to do special things.

I've learned a lot of things from various open source frameworks, especially CakePHP. One of the most impressive things about Cake, and Ruby on Rails for that matter, is its magic methods in its data model class [...] I've implemented similar methods in the home-grown framework that I use at work. Here's how to do it.

In his example, he gives both the PHP4 and PHP5 code to make a simple magic method class with a __call() function to handle undefined method calls. Using this, he maps a undefined method call to another method in the class (called findAllByColor and mapped to findAll with the right parameters).

Read More >>
PHPDEVELOPER - Rob Allen's Blog: Zend Framework Tutorial Zip File Updated : -- Top
Date Added :13th August 2007

Rob Allen has posted about more updates that have been made to his Zend Framework tutorial zip file - one now contains a copy of the framework, the other doesn't.

This time, I've created two files: one with the Zend Framework (1.0.1) included and one without. The one without is much smaller at only 9KB, where as with the Framework, the zip is 2.2MB.

You can download the version with just the tutorial or with the combination directly from his websites. The tutorial has also been bumped up a version (to 1.4.4) with a few updates.

Read More >>
PHPDEVELOPER - PHPBuilder.com: AJAX and PHP Part 4 - Forms and JavaScript Limitations : -- Top
Date Added :10th August 2007

PHPBuilder.com has posted part four of their tutorial series looking at the powerful combination of Ajax and PHP. This time they focus on the integration of forms and Javascript to make more powerful, interactive input methods.

AJAX is a very powerful system which enables dynamic, constantly changing content on a page--without refreshing the page. This useful system does, however, have some limitations with current browsers. We will cover these limitations in this article, specifically those pertaining to how HTML Forms operate within AJAX dynamic content and what type of JavaScript can be used in AJAX-generated content.

They talk about the limitations HTML forms have and how to combat them with a little bit of Javascript through the creation of a simple script to pull data from a backend script into a div on the local page.

Read More >>
PHPDEVELOPER - Errumm.co.uk: My first experience in building a FaceBook Application in PHP : -- Top
Date Added :9th August 2007

Following along with the official guide from Facebook about creating a simple application for the site, Dave Courtney ran into some issues. Specifically, a fatal error when he tried to run his three line script.

After setting up my application settings, which were all straight forward, I set about creating a simple 'Hello World' page. Following the step by step guide to creating an application provided by FaceBook I wrote a simple index.php page. [...] This is where I encountered probably the only major issue of the day.

In the end, his issue was caused by the SimpleXML he had installed locally. Once his application was uploaded, it worked just fine. With this problem down, he moved on to working with the Facebook Markup Language and how he integrated it with the database.

Read More >>
PHPFREAKS - PHP Application Design Part 2: UML Class Diagrams : -- Top
Date Added :11th March 2007
Learn how to use class diagrams.
Read More >>
PHPFREAKS - Bits and bitwise operators : -- Top
Date Added :21st January 2007
This tutorial will attempt to teach you what bits are, how binary arithmetic works, what bitwise operators are and how they work.
Read More >>
PHPFREAKS - PHP Application Design Part 1: OOP In Full Effect : -- Top
Date Added :18th January 2007
Ready to start building extensible applications?
Read More >>
PHPFREAKS - Clean URLs without mod_rewrite : -- Top
Date Added :2nd January 2007
As you may know, clean URLs can be made with Apache's mod_rewrite, but you are able to make clean URLs with PHP only. Learn how in this tutorial
Read More >>
PHPFREAKS - Private Messaging System : -- Top
Date Added :10th December 2006
Allow your members to send each other PMs like those in major forums and bulletin boards!
Read More >>
PHPFREAKS - Sort List Alphabetically, Grouped by First Letter : -- Top
Date Added :17th October 2006
Have a list of movies or music? Want them sorted alphabetically, and have them grouped by the first letter?
Read More >>
PHPFREAKS - Inserting and Displaying Information From a Database : -- Top
Date Added :12th October 2006
In this tutorial you will learn some basics for inserting data into and retrieving data from a database.
Read More >>
PHPFREAKS - BBcodes and smilies : -- Top
Date Added :12th October 2006
BBcodes is an excellent way of allowing your users to format their text without allowing them to use HTML. Learn how to make a parser class in this tutorial.
Read More >>
PHPFREAKS - Introduction to Object Oriented Programming in PHP4 : -- Top
Date Added :11th October 2006
Learn how to program in OOP.
Read More >>
PHPFREAKS - Creating dynamic RSS feeds : -- Top
Date Added :11th October 2006
Using RSS feeds is a commonly used way of distributing your news headlines to the world. This tutorial will show how to make it "automatically".
Read More >>
Read Discussions
google Groups
comp.lang.php
Professional-PHP
php_programming
alt.php
php.general
yahoo Groups
phpexperts
php-objects
phpresource
in-phpug
PHP_MySQL_usergroup
php_jobs_india
PHP job resources
GetAFreelancer
RentACoder
GetACoder
PHP.net News
PHP 5.3.2 Release...
PHP 5.2.13 Released!
PHP 5.2.12 Released!
PHP 5.3.1 Released!
PHP 5.2.11 Released!
PHP TestFest 2009 Winners
Subversion Migration...
2009 PHP TestFest
PHP 5.3.0 Released!
PHP 5.3.0RC4 Release...
PHP 5.2.10 Released!
PHP 5.2.10RC2 and PHP...
TestFest 2009
PHP 5.3.0RC2 Release...
PHP 5.2.9-2 (Windows)...
Google Summer of Code...
PHP 5.3.0RC1 Release...
5.2.9-1 (for Windows)...
PHP 5.2.9 Released!
Windows PECL binaries
PHP 5.2.8 Released!
PHP 5.2.7 has been...
PHP Advent 2008
PHP 5.3 alpha3 released!
PHP 4.4.9 released!
PHP 5.3 alpha1 released!
TestFest 2008 wrap-up
Manual restructure and...
PHP 5.2.6 Released
Google Summer of Code:...
TestFest 2008
Google Summer of Code...
PHP 4.4.8 Released
PHP 5.2.5 Released
The new documentation...
PHP 5.2.4 Released
PHP 4 end of life...
PHP 5.2.3 Released
PHP 5.2.2 and PHP...
The PHP.net Google...
Privacy Policy |  Terms and conditions | Comments | Copyright (c) 2004 - 2007 PHPSplashBoard.com All Rights Reserved.