LAMP/PHP Lecture Illustrations
| Installation/Administration Apache/PHP |
|
| Installation Guide Available Later | |
Punch Cards lead to JCL 1960's Unix Bourne Shell 1970's ("JCL" with Algol Like Flow Control Features) Scripting Lanuages are typeless and execute "Scripting 21st Century
Language?" Typical Application Level Scripting Instruction may Executes 100,000 instructions/statement. Application Level Scripting Languages are glue that hold application together and make it extensible.
Webmin is written in Perl. TCL/TK Short Discussion on Popular Scripting Langauge AWK, Perl, PHP, Python, Ruby, TCL/TK Ruby Latest and Greatest OOP Scripting Language |
|
PHP Today Good Discussion on Various PHP Extensions |
|
|
|
|
Chapter 2
|
|
| Apache, PHP, Dreamweaver Presentation | |
Chapter 4 Building Block of PHP
|
|
Table 4-1 PHP Tags page 79 - Site has Examples Scroll Down PHP SuperGlobals - predefined variables always present
PHP Six Data Types| typecasting and description of data types scroll 1/2 down
|
|
PHP Operators Table 5.2 Reproduced using operator.php ShortCut Table 5.3 Shortcut Operators Comparison Operators Table 5.4 Logical Operator Tables not, and, or & xor |
|
PHP Predefined Constants
|
|
Chapter 5 Working With Functions |
|
List of PHP Functions with Search Capabilities |
|
Chapter 8 Working with Strings, Dates and Times
|
|
| PHP String Reference | |
Chapter 9 Working with Forms
|
|
| HTML Form Data <form> <input type="text|button|submit|reset|checkbox" name="Identifer" > | |
| $_POST associative array passed to current script via the http POST method | |
Complete Header Field Definitions | Quick Reference HTTP Headers void header( String HTTP_Header [, bool replace [, int http_response]] ) |
|
| <form Attribute Name = Attribute Values | |
SQL |
|
Operator |
Name |
Example |
Example Result |
+ |
Addition |
10+3 |
13 |
- |
Subtraction |
10-3 |
7 |
/ |
Division |
10/3 |
3.3333333333333 |
* |
Multiplication |
10*3 |
30 |
% |
Modulus |
10%3 |
1 |
Operator |
Before |
Example |
Value |
|---|---|---|---|
+= |
10 | $x += 5; |
15 |
-= |
15 | $x -= 5; |
10 |
/= |
10 | $x /= 5; |
2 |
*= |
2 | $x *= 2; |
4 |
%= |
4 | $x %= 5 |
4 |
/= |
4 | $x .= " Test" |
4Test |
Operator |
Name |
Returns True if |
Example ($x is 4) |
Result |
= = |
Equal |
Left and Right Are Equal |
$x == 5; |
|
! = |
Not Equal |
Left and Right Not Equal |
$x != 5; |
1 |
= = = |
Identical |
Equal and Same Type |
$x === 4 |
1 |
= = = |
Not Identical |
Not Equal &/or Not Same Type |
$x === '4' |
|
> |
Greater Than |
Left is greater than right |
$x > 4 |
|
>= |
Greater Equal |
Left is greater equal than right |
$x >= 4 |
1 |
< |
Less Than |
Left is Less than right |
$x < 4 |
|
<= |
Less Than or Equal |
Left is Less Than or Equal |
$x<=4 |
1 |