PHP Fundamentals
What is PHP?
* PHP refers to PHP Hypertext Preprocessor. It is a server-side scripting language that is embedded in HTML documents. Only the output of the scripts are sent to the client. The end users do not see the script.
* PHP is a very widely used language for dynamic web development. For example, if you want to keep record of a user's score and provide feedback, you can do it with a few lines of code. Please refer to the example, Demonstration Quiz using PHP, created by Dr. Ted Frick.
* PHP is easier to learn than other server-side scripting languages, such as ASP, Cold Fusion. Perl, and Java (see http://www.php.net/ for a simple tutorial and complete PHP reference with examples online; note that this tutorial will not cover IU specific requirements that we do here).
PHP at IU
I. SSH
1. Access Mentor server
II. UNIX
1. Use basic UNIX commands
2. Use Pico editor in Mentor for simple script editing.
3. Change File Permission
III. SSH Secure File Transfer Client
1. Transfer files using SSH Secure File Transfer Client
2. Use SSH Secure File Transfer Client to change file permissions
IV. Macromedia's Home Site 5.0
1. Access Macromedia FTP server on HomeSite 5.0 using a home computer or UITS computers.
2. Change HomeSite 5.0 settings for Unix file format and PHP file types
3. Use HomeSite 5.0 editor for scripting and editing
PHP Scripting
I. Basic PHP scripting
II. Creating a Quiz
1. Task 1
2. Task 2
3. Task 3
III. Creating a Survey
1. Task 1
2. Task 2
3. Task 3
IV. Debugging |