How to Create Feedback Form in PHP

All of us who are running any type of website, blog or associated with any website are very curious to know the feedback from their visitors and we all know the importance of feedback form. Sometimes we want to customize it but can’t do it due to lack of knowledge so that’s why today we are going to learn how to create your very own Feedback Form in PHP. Basically we will start it from the bottom so that we can customize it in any way later on like we can put CAPTCHA for spammers and so many other feature. But this time just concentrate on the base:

I will begin with a very rudimentary (but working) PHP script to take input from a feedback form and send it to you in an email message.

Read the rest of this entry »


April 30th, 2008 PHP Object Oriented Programming (4 pages)


PHP Object Oriented Programming

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 Object Oriented Programming in PHP; fully understanding the benefits of using Object Oriented Programming in PHP should be a requirement in the PHP learning process.

 
Common Mistakes Done By Developers

I myself experienced the pitfall in the beginning of my PHP enlightenment, but the light shone again and my eyes opened to the use of Object Oriented Programming in PHP. What I mean by Object Oriented Programming in PHP specifically is the use of classes, not just simple function blocks.

Read the rest of this entry »


April 30th, 2008 PHP Quick Reference - Part II (10 pages)


PHP Quick Reference - Directory Functions

I know last Date And Time 20 Pages Reference tutorial was little bit heavy dose so today I am going to give you sweet juicy dose. Juicy dose that how can you mess up your PC through PHP programming…:) I’m just kidding we are going to learn PHP directory functions but be careful while using them because once you execute the page you can rollback it. Actually PHP directory functions allow you to retrieve information about directories and their contents.

Installation

Read the rest of this entry »


April 25th, 2008 PHP Quick Reference - Part I (20 pages)


PHP Quick Reference - Date And Time Functions

Now I’m going to start PHP Quick Reference series and believe me it will be very helpful for everyone either you are in PHP Beginner Level or PHP Intermediate Level or PHP Advance Level. I’m going to start with PHP Date

PHP Date and Time functions allow you to extract and format the date and time on the server.

Note: These functions depend on the locale settings of the server.

 
Installation

The Date and Time functions are part of the PHP core. There is no installation needed to use these functions.

 
Runtime Configuration

Read the rest of this entry »



PHP SimpleXML Parser

Now the fiat question what is this SimpleXML. And the answer is SimpleXML handles the most common XML tasks and leaves the rest for other extensions.

What is SimpleXML ?

SimpleXML is new in PHP 5. It is an easy way of getting an element’s attributes and text, if you know the XML document’s layout. Compared to DOM or the Expat parser, SimpleXML just takes a few lines of code to read text data from an element.

Read the rest of this entry »


April 24th, 2008 Learn PHP From Scratch - Part XXXII (2 pages)


PHP XML And DOM Parser

Before I start I want to tell you that PHP has built-in DOM parser which makes it possible to process XML documents in PHP.

What is DOM ?

The W3C DOM provides a standard set of objects for HTML and XML documents, and a standard interface for accessing and manipulating them.

The W3C DOM is separated into different parts (Core, XML, and HTML) and different levels (DOM Level 1/2/3):

* Core DOM - defines a standard

Read the rest of this entry »



© 2008 HeyGB.com