Home arrow PHP arrow PHP3 Introduction

PHP3 Introduction

Introduction to PHP and web database interfacing with MySQL. PHP3 is an HTML-embedded scripting language allowing web developers to create dynamic, database-driven websites.

TABLE OF CONTENTS:
  1. PHP3 Introduction
  2. Getting your feet wet
  3. HTML forms and variables
  4. MySQL database interfacing
By: W.J. Gilmore
Rating: starstarstarstarstar / 8
March 26, 1999

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement
PHP3.0, one of the hottest scripting languages to be found on the Internet, lends a great many capabilities to the web programmer. Many of these tasks, accomplished with some degree of difficulty in many other languages, can be swiftly executed with but a few lines of PHP3.0 code . The fact that PHP3.0 code can be inserted directly alongside HTML makes the language all the more convenient.

Created by Rasmus Lerdorf in what began as a personal project (titled PHP/FI), the language quickly gained popularity and was almost completely rewritten by a group of six developers, and in turn, reborn as PHP3.0. The language enjoys an extremely active developing environment, due, in large part, to the fact that the language is freely available for download on the web.

Much of PHP3.0 is a combination of Perl, Java, and C concepts. The syntax structure borrows heavily from C, making it an easy language to learn for even the novice programmer. PHP3.0 performs sophisticated mathematical calculations, provides network information, offers mail and regular expression capabilities, and much more. PHP3.0's strongest feature is its database interfacing capability. Connecting a database to the Internet has never been so easy. What's more, it supports many of the most popular database servers on the market, including MySQL, Oracle, Sybase, mSQL, Generic ODBC, and PostgreSQL, to name a few. In fact, the possibilities left to the user as a result of this interface are so great, we will focus upon this subject in the second half of the article. In particular, we will discuss its interfacing capabilities with MySQL, perhaps the most powerful database server found on the market today.

One of the factors that make PHP3.0 so powerful is that is a goal-oriented language. It is written to accomplish things, quickly and cleanly. Before you read on, however, make sure to take note of the following important points:
  1. PHP3.0 is what is known as a server-side scripting language. Thus the language interpreter must be installed and configured on the server before one can execute commands. Contact your ISP for more information, or if you are the server administrator, go to http://www.php.net to download the product.
  2. As stated earlier, PHP3.0 is a complete rewrite of the previous version, titled PHP/FI or PHP2.0. Be sure to ask your ISP which version is installed; if it happens to be the old version, ask if they could upgrade. In short, PHP3.0 is better. It is much faster and more capable than its predecessor. In addition, all syntax within this article will be written using PHP3.0 syntax.
  3. Once installed and configured, it is wise to obtain a copy of the PHP3.0 documentation. This documentation highlights all of the available commands and syntax structures, and will serve as an irreplaceable guide to learning the language.

With that in mind, let's begin..

 
 
>>> More PHP Articles          >>> More By W.J. Gilmore
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: