PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1995.
PHP Fundamentals Training
PHP is a popular, open-source programming language optimized for dynamic web pages and web-based applications, like registration systems, shopping carts, and polling systems. Many of today's high-traffic websites, such as Facebook and Yahoo, make extensive use of PHP.
PHP Installation & Basic ProgrammingIn this first part of the PHP training, you will learn how a web server generates dynamic web pages from PHP scripts with embedded HTML. You'll also learn basic PHP syntax. We'll show you how to:
- Install and configure PHP binaries to integrate with web servers.
- Configure the "php.ini" file, as well as error reporting, logging, and delimiters.
- Embed HTML in PHP scripts to generate web pages on the fly.
- Implement conditional structures (if, else, elseif) that only execute code when certain input data criteria are met.
Form Data Capture & Email Delivery in PHP
Forms are often the primary means of providing data to web servers. You can use PHP code to capture form data on the server and store it in a database, or send data out from the database via email. In this part of the PHP training, our expert instructor will show you how to:
- Use PHP to generate an HTML form dynamically and save the form's input to a database.
- Create PHP scripts for aggregating and tabulating form data.
- Implement the mail() function to relay email to a webserver.
- Set-up and configure your mail server to work with PHP.
Arrays are the most commonly used data storage structure, conveniently built into the PHP programming language. In this part of the PHP training class, you will learn how to:
- Program a random number generator.
- Use a for loop to iterate through numerically indexed and associative arrays.
- Create a shipping cost tabulation program using associative arrays.
Databases & Recordsets with PHP
In this part of the PHP training, you will learn to interact with two of the most popular relational databases: MySQL, a widely used open-source database, and Microsoft Access, a popular desktop database. We'll teach you how to:
- Write basic SQL to insert, update, and delete, and more.
- Avoid wasting time on irrelevant error messages.
- Use PHP to connect to a MySQL database or MS Access database.
- Retrieve record sets using either numeric or conditional variables.
- Manipulate form input data on the fly and display it on another HTML form or web page.
Working with Sessions in PHP
Web pages are stateless and, therefore, do not retain information between page loads. This means that forms lose their field data once the next page loads. Sessions can solve this issue. In this section of the PHP training course, you'll learn how to work with sessions, as well as:
- Differentiate between "normal" variables and "session" variables.
- Use PHP to assign unique identifiers to each your web site's visitors.
- Set up a customer database that provides a snapshot of past orders for all "authorized" users.
File Input/Output with PHP
PHP scripts are used to read from, or write to, text files on a hard drive or web server. These text files can be log files, RSS feeds, HTML pages or any text-based document file format, as long as PHP is configured to recognize the file extension. You'll finish up your PHP training by learning how to:
- Configure PHP to output common file extensions, including, but not limited to: TXT, HTML, XML, RSS, CSV, LOG, RTF, EML.
- Understand the important "gotchas" about write permissions and access control lists.