Oreilly - PHP Development and Predefined Variables
by McLearn eLearning | Publisher: Stone River eLearning | Release Date: July 2019 | ISBN: 10000000ML117
Apart the interaction between the website and the user, predefined variables can provide key information about the server environment and the user. In this course, you'll learn how to make your website more interactive. First, you'll discover how to create more robust forms, leveraging sessions that span multiple pages of data. Next, you'll explore the ability to save cookies. Finally, you'll learn how to upload files and other form data, which utilize these predefined variables. When you're finished with this course, you'll have a stronger understanding of the PHP programming language, and have the ability to create more interactive websites with predefined variables. This course is not a comprehensive start to finish of creating an all-encompassing, dynamic website, Here you will learn exactly what is a predefined variable. After this course you will learn how to use PHP predefined variables in everyday scenarios This is a Intermediate level course, you must have basic PHP knowledge You need to install your favorite IDE for this course, we will use NetBeans
- Accessing Environment Variables with $_ENV
- $_ENV 00:01:07
- Example - Enable Environment Variables 00:02:46
- getENV 00:01:29
- Accessing Server Variables with $_SERVER
- $_SERVER 00:01:08
- Example - Filename of Executing Script v1 00:01:37
- Filename of Executing Script v2 00:01:57
- Example - Root Directory of Given Web Site 00:01:35
- Example - Server IP Address 00:00:42
- Example - User IP Address 00:01:04
- Example - Host Name 00:00:48
- Example - User Agent Information 00:01:45
- Example - Time Script Was Requested 00:01:56
- Accessing URL Variables with $_GET
- Web Site Layout 00:00:55
- Example - $_GET with URL 00:02:47
- Example - $_GET with Forms 00:01:24
- Acessing Form Data with $_POST
- Example - $_POST with Forms 00:01:45
- Example - $_POST and Selecting Multiple Options 00:01:40
- Setting and Retrieving Cookie Data
- Example - setcookie 00:01:30
- Example - $_COOKIE 00:01:57
- Example - Cookie Expiration 00:02:16
- Example - Cookie Deletion 00:02:59
- Accessing Form, URL, and Cookie Data with $_REQUEST
- Example - REQUEST 00:02:05
- REQUEST Pitfalls 00:02:01
- Persistent Data with $_SESSION
- Site Setup 00:01:58
- Example - session_start 00:01:44
- Example - $_SESSION 00:04:08
- Example - Populating Session Data 00:02:38
- Example - session_destroy 00:01:57
- Example - Delete Individual Session Variables 00:01:27
- Uploading Files in PHP
- Code Clean Up 00:00:46
- Example - $_FILES 00:02:54
- Example - Saving a File 00:03:36
- Example - Multiple Files 00:03:00