About This Course
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 is an Intermediate level course, you must have basic PHP knowledge and you need to install your favorite IDE. For this course we will use NetBeans.
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.
Our Promise to You
By the end of this course, you will have learned about PHP development and predefined variables which will give you a stronger understanding of the PHP programming language.
30 Day Money Back Guarantee. If you are unsatisfied for any reason, simply contact us and we’ll give you a full refund. No questions asked.
Get started today and learn more about the PHP development and predefined variables.
Course Curriculum
Section 1 - Let's Start | |||
What Are Predefined Variables | 00:00:00 | ||
All PHP Predefined Variables | 00:00:00 | ||
Environment Setup | 00:00:00 | ||
Section 2 - Accessing Environment Variables With $_ENV | |||
$_ENV | 00:00:00 | ||
Example – Enable Environment Variables | 00:00:00 | ||
getENV | 00:00:00 | ||
Differences Environments | 00:00:00 | ||
Section 3 - Accessing Server Variables With $_SERVER | |||
Introduction | 00:00:00 | ||
$_SERVER | 00:00:00 | ||
Example – Filename Of Executing Script v1 | 00:00:00 | ||
Filename Of Executing Script v2 | 00:00:00 | ||
Example – Root Directory Of Given Web Site | 00:00:00 | ||
Example – Server IP Address | 00:00:00 | ||
Example – User IP Address | 00:00:00 | ||
Example – Host Name | 00:00:00 | ||
Example – User Agent Information | 00:00:00 | ||
Example – Time Script Was Requested | 00:00:00 | ||
Section 4 - Accessing URL Variables With $_GET | |||
Web Site Layout | 00:00:00 | ||
Example – $_GET With URL | 00:00:00 | ||
Example – $_GET With Forms | 00:00:00 | ||
Section 5 - Accessing Form Data With $_POST | |||
Example – $_POST With Forms | 00:00:00 | ||
Example – $_POST And Selecting Multiple Options | 00:00:00 | ||
Section 6 - Setting And Retrieving Cookie Data | |||
Example – setcookie | 00:00:00 | ||
Example – $_COOKIE | 00:00:00 | ||
Example – Cookie Expiration | 00:00:00 | ||
Example – Cookie Deletion | 00:00:00 | ||
Section 7 - Accessing Form, URL, And Cookie Data With $_REQUEST | |||
Example – REQUEST | 00:00:00 | ||
REQUEST Pitfalls | 00:00:00 | ||
Section 8 - Persistent Data With $_SESSION | |||
Site Setup | 00:00:00 | ||
Example – session_start | 00:00:00 | ||
Example – $_SESSION | 00:00:00 | ||
Example – Populating Session Data | 00:00:00 | ||
Example – session_destroy | 00:00:00 | ||
Example – Delete Individual Session Variables | 00:00:00 | ||
Section 9 - Uploading Files in PHP | |||
Code Clean Up | 00:00:00 | ||
Example – $_FILES | 00:00:00 | ||
Example – Saving A File | 00:00:00 | ||
Example – Multiple Files | 00:00:00 | ||
Uploading Tips | 00:00:00 | ||
Summary | 00:00:00 |