Jan 15

Beginning PHP and MySQL: From Novice to Professional

Beginning PHP and MySQL: From Novice to Professional, Fourth Edition is a major update of W. Jason Gilmore’s authoritative book on PHP and MySQL. The fourth edition includes complete coverage of PHP 5.3 features, including namespacing, an update of AMP stack installation and configuration, updates to Zend Framework, coverage of MySQL Workbench, and much more.

You’ll not only receive extensive introductions to the core features of PHP, MySQL, and related tools, but you’ll also learn how to effectively integrate them in order to build robust data-driven applications. Gilmore has seven years of experience working with these technologies, and he has packed this book with practical examples and insight into the real-world challenges faced by developers. Accordingly, you will repeatedly return to this book as both a valuable instructional tool and reference guide.

Amazon Link:http://www.amazon.com/Beginning-PHP-MySQL-Novice-Professional/dp/1430231149/ref=sr_1_6?ie=UTF8&qid=1326613967&sr=8-6

What you’ll learn

  • How to install and configure Apache, PHP 5.3, and MySQL
  • PHP and object-oriented programming basics
  • New PHP 5.3 features and how to use them
  • How to move beyond basic PHP, including using the Zend Framework
  • How to use MySQL to securely store your website’s data
  • How to use MySQL Workbench to manage your database

Who this book is for

Developers who want to harness PHP and MySQL to create powerful web applications

Table of Contents

  1. Introducing PHP
  2. Configuring Your Environment
  3. PHP Basics
  4. Functions
  5. Arrays
  6. Object-Oriented PHP
  7. Advanced OOP Features
  8. Error and Exception Handling
  9. Strings and Regular Expressions
  10. Working with the File and Operating System
  11. PEAR
  12. Date and Time
  13. Forms
  14. Authenticating Your Users
  15. Handling File Uploads
  16. Networking
  17. PHP and LDAP
  18. Session Handlers
  19. Templating with Smarty
  20. Web Services
  21. Secure PHP Programming
  22. Integrating jQuery and PHP
  23. Building Web Sites for the World
  24. MVC and the Zend Framework
  25. Introducing MySQL
  26. Installing and Configuring MySQL
  27. The Many MySQL Clients
  28. MySQL Storage Engines and Datatypes
  29. Securing MySQL
  30. Using PHP with MySQL
  31. Introducing PDO
  32. Stored Routines
  33. MySQL Triggers
  34. MySQL Views
  35. Practical Database Queries
  36. Indexes and Searching
  37. Transactions
  38. Importing and Exporting Data
Jan 08

Learning PHP, MySQL, and JavaScript: A Step-By-Step Guide to Creating Dynamic Websites (Animal Guide)

If you know HTML, this guide will have you building interactive websites quickly. You’ll learn how to create responsive, data-driven websites with PHP, MySQL, and JavaScript, regardless of whether you already know how to program. Discover how the powerful combination of PHP and MySQL provides an easy way to build modern websites complete with dynamic data and user interaction. You’ll also learn how to add JavaScript to create rich Internet applications and websites.

Learning PHP, MySQL, and JavaScript explains each technology separately, shows you how to combine them, and introduces valuable web programming concepts, including objects, XHTML, cookies, and session management. You’ll practice what you’ve learned with review questions in each chapter, and find a sample social networking platform built with the elements introduced in this book.

This book will help you:

  • Understand PHP essentials and the basics of object-oriented programming
  • Master MySQL, from database structure to complex queries
  • Create web pages with PHP and MySQL by integrating forms and other HTML features
  • Learn about JavaScript, from functions and event handling to accessing the Document Object Model
  • Use libraries and packages, including the Smarty web template system, PEAR program repository, and the Yahoo! User Interface Library
  • Make Ajax calls and turn your website into a highly dynamic environment
  • Upload and manipulate files and images, validate user input, and secure your applications

Review

“Just get this book… [it] will work like a miracle for you.” – Abdul Khan –Amazon Canada

Excellent! Easy to read, straightforward guide. Already learned several very useful things.” – Holly –Good Reads

Finally a comprehensive resource for HTML users who want to move to the next level, and implement data-driven access to their websites.” – Michael L. Kleper –The Kleper Report

“After the first chapter of introducing terms; I knew that I had to purchase this book.” – Graysen –Greysen Oh’s Blog

This is a superb start for learning the ins and outs of PHP, MySQL and JavaScript.” – Jonny IT Guy –Amazon UK

From the Author

Having developed for the Internet since the mid 1990s I have used a number of programming languages, beginning with Perl, which was the first tool I mastered. However I soon found that great though Perl was for developing with, at the time it didn’t have the power I needed for ultra busy websites, and so the load averages of the servers I used was going through the roof.

So I rewrote all the processor-intensive code in C and was able to substantially slow down our server acquisition rate. But while C is powerful, it takes a lot of coding to replicate even basic Perl functions. So when PHP came along I was very pleasantly surprised to discover that even though it is interpreted (that is, re-compiled each time it is run), it placed far less of a strain on the servers than Perl, and also took up far less development time.

Since then I have used PHP in combination with MySQL for all my server side development. And with JavaScript gaining the XMLHttpRequest object, and hence the beginnings of Ajax, the three technologies are now my mainstays for web development.

So when O’Reilly asked me to write this book I jumped at the opportunity. In it I have tried to take you from first steps, without assuming any prior knowledge other than basic HTML and maybe some CSS, through each of the technologies in turn, and along the way point out the shortcuts and pitfalls I have discovered, to give you the headstart I didn’t have.

I maintain an active discussion forum on the book’s topics, which is linked to via the companion website at lpmj.net, and am always happy to answer any questions you may have.

About the Author

Robin Nixon has worked with and written about computers since the early 1980s (his first computer was a Tandy TRS 80 Model 1 with a massive 4KB of RAM!). One of the web sites he developed presented the world’s first radio station licensed by the music copyright holders. In order to enable people to continue to surf while listening, Robin also developed the first known pop-up windows.

Robin has worked for many of Britain’s main IT magazine publishers where he has held several roles including editorial, promotions, and cover disc editing. He is the author of over 500 magazine articles and eight books on computing.

Oct 17

Build Your Own Database-Driven Website Using PHP & MySQL

Summary of Contents of this Excerpt
Preface ..........................................................................................ix
1. Installation ............................................................................... 1
2. Getting Started with MySQL................................................ 29
3. Getting Started with PHP ..................................................... 43
4. Publishing MySQL Data on the Web................................... 67
Index......................................................................................... 345
Summary of Additional Book Contents
5. Relational Database Design................................................... 85
6. A Content Management System......................................... 101
7. Content Formatting and Submission.................................. 143
8. MySQL Administration....................................................... 165
9. Advanced SQL Queries........................................................ 183
10. Binary Data........................................................................ 199
11. Cookies and Sessions in PHP............................................ 221
12. Structured PHP Programming........................................... 235
A. MySQL Syntax .................................................................... 277
B. MySQL Functions ............................................................... 301
C. MySQL Column Types ....................................................... 321
D. PHP Functions for Working with MySQL ........................

PDF download:

Kevs-php-mysql

Aug 29

PHP and MySQL Web Development (4th Edition)

PHP and MySQL are popular open-source technologies that are ideal for quickly developing database-driven Web applications. PHP is a powerful scripting language designed to enable developers to create highly featured Web applications quickly, and MySQL is a fast, reliable database that integrates well with PHP and is suited for dynamic Internet-based applications.

PHP and MySQL Web Development shows how to use these tools together to produce effective, interactive Web applications. It clearly describes the basics of the PHP language, explains how to set up and work with a MySQL database, and then shows how to use PHP to interact with the database and the server.

This practical, hands-on book includes numerous examples that demonstrate common tasks such as authenticating users, constructing a shopping cart, generating PDF documents and images dynamically, sending and managing email, facilitating user discussions, connecting to Web services using XML, and developing Web 2.0 applications with Ajax-based interactivity.

The fourth edition of PHP and MySQL Web Development has been thoroughly updated, revised, and expanded to cover developments in PHP 5 through version 5.3, such as namespaces and closures, as well as features introduced in MySQL 5.1.

Editorial Reviews
Review
“This book by Welling & Thomson is the
only one which I have found to be indispensable.
The writing is clear and straightforward
but never wastes my time.The book is
extremely well laid out.The chapters are the
right length and chapter titles quickly take
you where you want to go.”
—Wright Sullivan, President,A&E
Engineering, Inc., Greer South Carolina

“There are several good introductory
books on PHP, but Welling & Thomson is an
excellent handbook for those who wish to
build up complex and reliable systems. It’s
obvious that the authors have a strong background
in the development of professional
applications and they teach not only
the language itself, but also how to use it
with good software engineering practices.”
—Javier Garcia, senior telecom engineer,
Telefonica R&D Labs, Madrid

“This book rocks! I am an experienced
programmer, so I didn’t need a lot of help
with PHP syntax; after all, it’s very close to
C/C++. I don’t know a thing about
databases, though, so when I wanted to
develop a book review engine (among
other projects) I wanted a solid reference
to using MySQL with PHP. I have
O’Reilly’s mSQL and MySQL book, and
it’s probably a better pure-SQL reference,
but this book has earned a place on my
reference shelf…Highly recommended.”
—Paul Robichaux

“The true PHP/MySQL bible, PHP
and MySQL Web Development by Luke
Welling and Laura Thomson, made me
realize that programming and databases are
now available to the commoners. Again, I
know 1/10000th of what there is to know,
and already I’m enthralled.”
—Tim Luoma,TnTLuoma.com

About the Author

Lead Authors

Laura Thomson is a senior software engineer at Mozilla Corporation. She was formerly a principal at both OmniTI and Tangled Web Design, and she has worked for RMIT University and the Boston Consulting Group. She holds a Bachelor of Applied Science (Computer Science) degree and a Bachelor of Engineering (Computer Systems Engineering) degree with honors.

Luke Welling is a web architect at OmniTI and regularly speaks on open source and web development topics at conferences such as OSCON, ZendCon, MySQLUC, PHPCon, OSDC, and LinuxTag. Prior to joining OmniTI, he worked for the web analytics company Hitwise.com, at the database vendor MySQL AB, and as an independent consultant at Tangled Web Design. He has taught computer science at RMIT University in Melbourne, Australia, and holds a Bachelor of Applied Science (Computer Science) degree.

Contributing Authors

Julie C. Meloni is the technical director for i2i Interactive (www.i2ii.com), a multimedia company located in Los Altos, California. She has been developing web-based applications since the Web first saw the light of day and remembers the excitement surrounding the first GUI web browser. She has authored numerous books and articles on web-based programming languages and database topics, including the bestselling Sams Teach Yourself PHP, MySQL and Apache All in One.

Adam DeFields is a consultant specializing in web application development, project management, and instructional design. He lives in Grand Rapids, Michigan where he runs Emanation Systems, LLC, a company he founded in 2002. He has been involved with web development projects using several different technologies, but has developed a strong preference toward PHP/MySQL-based projects.

Marc Wandschneider is a freelance software developer, author, and speaker who travels the globe working on interesting projects. In recent years, a lot of his attention has been focused on writing robust and scalable web applications, and in 2005 he wrote a book called Core Web Application Programming with PHP and MySQL. He was was previously the main developer of the SWiK open source community site.

Jul 18

PHP Tutorial From beginner to master

PHP Tutorial From beginner to master

PHP is a powerful tool for making dynamic and interactive Web pages.
PHP is the widely-used, free, and efficient alternative to competitors such
as Microsoft’s ASP.
In our PHP tutorial you will learn about PHP, and how to execute scripts
on your server

Pre-requisites
Before you continue you should have a basic understanding of the following:
•  HTML/XHTML
•  JavaScript
What is PHP?
•  PHP stands for PHP: Hypertext Preprocessor
•  PHP is a server-side scripting language, like ASP
•  PHP scripts are executed on the server
•  PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL,
Generic ODBC, etc.)
•  PHP is an open source software
•  PHP is free to download and use
What is a PHP File?
•  PHP files can contain text, HTML tags and scripts
•  PHP files are returned to the browser as plain HTML
•  PHP files have a file extension of “.php”, “.php3″, or “.phtml”
What is MySQL?
•  MySQL is a database server
•  MySQL is ideal for both small and large applications
•  MySQL supports standard SQL
•  MySQL compiles on a number of platforms
PHP Tutorial From beginner to master

PHP is a powerful tool for making dynamic and interactive Web pages.
PHP is the widely-used, free, and efficient alternative to competitors such
as Microsoft’s ASP.
In our PHP tutorial you will learn about PHP, and how to execute scripts
on your server

Pre-requisites
Before you continue you should have a basic understanding of the following:
•  HTML/XHTML
•  JavaScript
What is PHP?
•  PHP stands for PHP: Hypertext Preprocessor
•  PHP is a server-side scripting language, like ASP
•  PHP scripts are executed on the server
•  PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL,
Generic ODBC, etc.)
•  PHP is an open source software
•  PHP is free to download and use
What is a PHP File?
•  PHP files can contain text, HTML tags and scripts
•  PHP files are returned to the browser as plain HTML
•  PHP files have a file extension of “.php”, “.php3″, or “.phtml”
What is MySQL?
•  MySQL is a database server
•  MySQL is ideal for both small and large applications
•  MySQL supports standard SQL
•  MySQL compiles on a number of platforms

PHP_Tutorial_From_beginner_to_master

Jul 12

PHP Tutorial – Learn PHP

Overview:

If you want to learn the basics of PHP, then you’ve come to the right place. The goal of this tutorial is to
h you the basics of PHP so that you can:
•  Customize PHP scripts that you download, so that they better fit your needs.
•  Begin to understand the working model of PHP, so you may begin to design your own PHP projects.
•  Give you a solid base in PHP, so as to make you more valuable in the eyes of future employers.
PHP stands for PHP Hypertext Preprocessor.

PHP – What is it?
Taken directly from PHP’s home, PHP.net, “PHP is an HTML-embedded scripting language. Much of its
syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of
the language is to allow web developers to write dynamically generated pages quickly.”
This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to.
Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won’t see!
When someone visits your PHP webpage, your web server processes the PHP code. It then sees which
parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math
calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to
your visitor’s web browser.

PDF download:

php_tizag_tutorial

Jul 08

Programming PHP by Rasmus Lerdorf, Kevin Tatroe and Peter MacIntyre

Editorial Reviews

Amazon.com Review

PHP is far more than a cult language or open-source icon. It’s a remarkably capable language that’s well integrated with lots of technologies–notably mSQL and MySQL database servers–and quite easy to learn. Programming PHP helps you up the PHP learning curve, very nearly guaranteeing that you’ll find in its pages an example that illustrates every fundamental aspect of the language and its most important extension modules. Plus, there’s some cool advanced stuff, like recipes for manipulating images, working with Extensible Markup Language (XML) content, and generating Adobe Acrobat (PDF) files. Rasmus Lerdorf invented PHP and quarterbacks its ongoing evolution, so there’s little question of the content’s authority.The authors use a Talmudic style to explore PHP’s capabilities and explain them to their readers, meaning that they like to present code and commentary in close formation, with each enhancing the other. Typically, they’ll present a capability generically and show the relevant code. Then they’ll dig into variations on the theme, calling attention to required code alterations as they go. This is a book about PHP itself, so practically no attention is paid to PHP Builder or other development tools. Regardless, this book will help you solve programming challenges with PHP, and enable you to write efficient, attractive code. –David Wall

Topics covered: The PHP programming language, for people who are coming to PHP with a bit of programming experience in other languages or who want to expand their existing PHP knowledge beyond the basics. Sections deal with the core language, as well as HTTP session management, database connectivity (to MySQL and Oracle, as well as with PHP Extension and Application Repository–PEAR), graphics file manipulation, XML parsing, and PDF creation. There are instructions for building a PHP extension library in C, as well as a function reference and guide to existing extensions. –This text refers to an out of print or unavailable edition of this title.

Product Description

Programming PHP, 2nd Edition, is the authoritative guide to PHP 5 and is filled with the unique knowledge of the creator of PHP (Rasmus Lerdorf) and other PHP experts. When it comes to creating websites, the PHP scripting language is truly a red-hot property. In fact, PHP is currently used on more than 19 million websites, surpassing Microsoft’s ASP .NET technology in popularity. Programmers love its flexibility and speed; designers love its accessibility and convenience.

As the industry standard book on PHP, all of the essentials are covered in a clear and concise manner. Language syntax and programming techniques are coupled with numerous examples that illustrate both correct usage and common idioms. With style tips and practical programming advice, this book will help you become not just a PHP programmer, but a good PHP programmer. Programming PHP, Second Edition covers everything you need to know to create effective web applications with PHP. Contents include:

  • Detailed information on the basics of the PHP language, including data types, variables, operators, and flow control statements
  • Chapters outlining the basics of functions, strings, arrays, and objects
  • Coverage of common PHP web application techniques, such as form processing and validation, session tracking, and cookies
  • Material on interacting with relational databases, such as MySQL and Oracle, using the database-independent PEAR DB library and the new PDO Library
  • Chapters that show you how to generate dynamic images, create PDF files, and parse XML files with PHP
  • Advanced topics, such as creating secure scripts, error handling, performance tuning, and writing your own C language extensions to PHP
  • A handy quick reference to all the core functions in PHP and all the standard extensions that ship with PHP

Praise for the first edition:

“If you are just getting into the dynamic Web development world or you are considering migrating from another dynamic web product to PHP, Programming PHP is the book of choice to get you up, running, and productive in a short time.”

–Peter MacIntrye, eWeek

“I think this is a great book for programmers who want to start developing dynamic websites with PHP. It gives a detailed overview of PHP, lots of valuable tips, and a good sense of PHP’s strengths.”

–David Dooling, Slashdot.org

http://www.amazon.com/Programming-PHP-Rasmus-Lerdorf/dp/0596006810/ref=sr_1_11?ie=UTF8&qid=1309615602&sr=8-11

Jun 28

PHP 5 Power Programming

BRUCE PERENS’ OPEN SOURCE SERIES
http://www.phptr.com/perens
◆ Java Application Development on Linux
Carl Albing and Michael Schwarz
◆ C++ GUI Programming with Qt 3
Jasmin Blanchette, Mark Summerfield
◆ Managing Linux Systems with Webmin: System Administration and
Module Development
Jamie Cameron
◆ Understanding the Linux Virtual Memory Manager
Mel Gorman
◆ Implementing CIFS: The Common Internet File System
Christopher Hertel
◆ Embedded Software Development with eCos
Anthony Massa
◆ Rapid Application Development with Mozilla
Nigel McFarlane
◆ The Linux Development Platform: Configuring, Using, and Maintaining a
Complete Programming Environment
Rafeeq Ur Rehman, Christopher Paul
◆ Intrusion Detection with SNORT: Advanced IDS Techniques Using SNORT,
Apache, MySQL, PHP, and ACID
Rafeeq Ur Rehman
◆ The Official Samba-3 HOWTO and Reference Guide
 John H. Terpstra, Jelmer R. Vernooij, Editors
◆ Samba-3 by Example: Practical Exercises to Successful Deployment
John H. Terpstra

The authors and publisher have taken care in the preparation of this book, but make no expressed or implied
warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for inciden-
tal or consequential damages in connection with or arising out of the use of the information or programs con-
tained herein.
Publisher: John Wait
Editor in Chief: Don O’Hagan
Acquisitions Editor: Mark L. Taub
Editorial Assistant: Noreen Regina
Development Editor:Janet Valade
Marketing Manager: Robin O’Brien
Cover Designer: Nina Scuderi
Managing Editor: Gina Kanouse
Senior Project Editor: Kristy Hart
Copy Editor: Specialized Composition
Indexer: Lisa Stumpf
Senior Compositor: Gloria Schurick
Manufacturing Buyer: Dan Uhrig
The publisher offers excellent discounts on this book when ordered in quantity for bulk purchases or special
sales, which may include electronic versions and/or custom covers and content particular to your business,
training goals, marketing focus, and branding interests. For more information, please contact:
U. S. Corporate and Government Sales
(800) 382-3419
corpsales@pearsontechgroup.com
For sales outside the U. S., please contact:
International Sales
international@pearsoned.com
Visit us on the Web: www.phptr.com
Library of Congress Cataloging-in-Publication Data:
2004107331
Copyright © 2005 Pearson Education, Inc.
This material may be distrubuted only subject to the terms and conditions set forth in the Open Publication
License, v1.0 or later (the latest version is presently available at http://www.opencontent.org/openpub/).
Pearson Education, Inc.
One Lake Street
Upper Saddle River, NJ 07458
Every effort was made to contact and credit all copyright holders. Use of material without proper credit
is unintentional.
ISBN 0-131-47149-X
Text printed in the United States on recycled paper at Phoenix in Hagerstown, Maryland.
First printing, [October 2004]

PDF download

Jun 23

PHP – Advanced Tutorial

PHP – Advanced Tutorial
Gulev
cember 6, 2002. Veracruz, Mexico
smus Lerdorf <rasmus@php.net>
http://lerdorf.com/veracruz.pdf

o PHP-MyS


o Cookie Ha
o Dynamic I
o PDF
o Flash
o Sessions
o Security
o Tips & Tr
o Optimizat
o Latest Dev


o Future

 

Check your PHP Setup for MySQL support
<? phpinfo() ?>
If not enabled
 Very rare since a MySQL client library is distributed with PHP and built into PHP
However, it is possible to build PHP without MySQL support.  Some possible fixes:
apt-get install php-mysql
rpm -Uvh php-mysql-4.2.2-1.i386.rpm
 
./configure –with-mysql=shared,/usr
cp modules/mysql.so /usr/local/lib/php
extension_dir=/usr/local/lib/php
extension=mysql.so

PDF download: http://download.phpfly.net/201106/PHP – Advanced Tutorial.pdf

Jun 03

PHP_My_SQL_Tutorial (PDF)

Overview
Open source has brought a lot more than Linux to the computing world. It has also given us PHP and
MySQL. According to Graeme, PHP and MySQL are the world’s best combination for creating data-driven
sites. In the first installment of this three-lesson tutorial, our Kiwi guide covers everything you need to
know to begin developing database hubs. He gives instructions for installation on both Unix and Windows,
and then goes on to show some simple scripts that will insert information into a database and display that
data on a Web page.
Lesson 2 covers more PHP/MySQL goodies than you could probably imagine. Graeme starts by showing
while loops, then talks about the ever-useful if-else statement. But this information alone means little if
you don’t continue and see how PHP can be used with HTML forms. By the time you’ve polished off this
lesson, you’ll be able to add, edit, and remove information from your database.
In Lesson 3, Graeme shows some of the secrets that will turn your simple data-driven site into a useful
application. As he covers validation, he’ll show how to prevent users from leaving key form fields blank and
how to make sure numeric files don’t contain letters. He’ll also teach you how PHP handles includes and
functions. Plus you’ll see how these two features, when deployed together, can make the coder’s life much
easier. Graeme winds it all up with some tearful parting words and a bit of advice for the aspiring
PHP/MySQL coder.
Other PHP articles on Webmonkey:
Site Navigation with PHP
Image Creation with PHP
Threaded Discussion with PHP/MySQL

movement, Linux.
Having a massively complex RDBMS (relational database management system) is all well and good if you
know what to do with it. But perhaps you are just getting into the world of databases. You’ve read Jay’s
article and you want to put up your own data-driven Web site. But you find you don’t have the resources
or desire for an ASP server or some pricey database. You want something free, and you want it to work
with Unix.
Enter PHP and MySQL. These two make up what must be the best combination for data-driven Web sites
on the planet. You needn’t take my word for it. An unofficial Netcraft survey shows that PHP usage has
jumped from 7,500 hosts in June 1998 to 410,000 in March 1999. That’s not bad. The combination was also
awarded Database of the Year at Webcon98, where it received a lovely tiara.
MySQL is a small, compact database server ideal for small – and not so small – applications. In addition to
supporting standard SQL (ANSI), it compiles on a number of platforms and has multithreading abilities on
Unix servers, which make for great performance. For non-Unix people, MySQL can be run as a service on
Windows NT and as a normal process in Windows 95/98 machines.
PHP is a server-side scripting language. If you’ve seen ASP, you’ll be familiar with embedding code within an
HTML page. Like ASP, PHP script is processed by the Web server. After the server plays with the PHP code,
it returns plain old HTML back to the browser. This kind of interaction allows for some pretty complex
operations.
In addition to being free (MySQL does have some licensing restrictions though), the PHP-MySQL
combination is also cross-platform, which means you can develop in Windows and serve on a Unix platform.
Also, PHP can be run as an external CGI process, a stand-alone script interpreter, or an embedded Apache
module.
If you’re interested, PHP also supports a massive number of databases, including Informix, Oracle, Sybase,
Solid, and PostgreSQL – as well as the ubiquitous ODBC.
PHP supports a host of other features right at the technological edge of Internet development. These
include authentication, XML, dynamic image creation, WDDX, shared memory support, and dynamic PDF
document creation to name but a few. If that’s not enough, PHP is easy to extend, so you can roll your
own solution if you’re programming savvy.
Finally, since both efforts are collaborative in nature, there’s always plenty of support from documentation
and mailing lists. Bugs are fixed rapidly, and requests for features are always heard, evaluated, and if
feasible, implemented.
Enough talk! Let’s go over what we’re going to cover in this tutorial.
Lesson 1 is going to cover the installation of these products on both Unix and Windows systems. If you
don’t need to worry about that (you’re working on your ISP’s machine, perhaps), jump right to the first
example scripts, where the magic starts.
In Lesson 2 we’ll look at some more complex scripting goodies, including looping, form input, and sending
data from and to the database.
Lesson 3 will cover validation and techniques for making your PHP scripts smart and clean.
Let’s roll.

Click here to download