LAMP/PHP Lecture Illustrations

Installation/Administration Apache/PHP
 

Chapter 1

Worldwide GDP Estimates

Linux Desktop Coming of Age

  1. Linspire

  2. Xandros Frys Xandros
    Xandros product Comparison
    Free OCE (Open Circulation Edition)

  3. Novell Suse Desktop

Educational Pricing 50% Discount ($25..$50)
with Win4Lin is looking Good

Sub $500 (Eventually Sub $300) PC Market
Walmart PCs

  • Multics/Unix/Linux Timeline

  • 1965 Multics - All Encompassing OS
    (Multiplexed Information and Computing Service)

  • 1969 UNICS
    (UNiplexed Information and Computing Service)
    an 'emasculated Multics'.

  • 1969 Unix - Simplified Version of Original Unix Publication

  • 1985 GNU - Richard Stallman
    Free Software Foundation gnu.org

  • 1991 Linux

Linux Variants

distrowatch.com Hits Per Day

fedora.redhat.com | www.redhat.com Educational Pricing $25..-$50
Ubuntu and OpenSuSE Superior Desktops Than Fedora/Redhat

Debian ==> Linspire

Debian ==> Corel Linux ==> Xandros

CMU Mach Kernel and FreeBSD
Mac OS-X (Open Source Unix + Desktop)

Linux Certificates 2005 | Last 4 Years certcities.com is becoming obsolete


 

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?"
many instruction (table halfway down) per statement

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.


Perl 1987 Timeline History | Perl History

Webmin is written in Perl.

TCL/TK
Python scripting language for GUI web administration.

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

  • Pear PHP PHP Extension and Application Repository
  • PHP-GTK (Gimp ToolKit) GUI Toolkit for Client Side PHP
  • PECL (Pickle) PHP Extensions (For PHP 4.0) C Language
    PHP Extension Community Library - Pear & PECL are siblings

PHP Programming Language of 2004

 
 
 
 

 

   

 

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

function_exists( function name )

 

 

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

   
   


Show below are the six different data types:

  1. integer [a whole number]

  2. double [floating point number]

  3. string [a collection of characters]

  4. boolean [true or false]

  5. array [a collection of variables]

  6. object [an abstract data type made up of variables and functions]


PHP Operators

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

Short Cut Operators

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

Comparison Operators

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

Certificates

 

2005 2004 2003 2002
1 CCIE
Internetwork Expert
MCSE:
Security
CCIE MCSA
2 MCSE:
Security
Tie Security+,
CCIE
Security+ Oracle: DBA
3 RHCE – Redhat Certified Engineer RHCE CCNA Cisco Certified network Assoc
4 Cisco Certified Security Professional CCNP CCNP CCNP
5 CCNP
Cisco C Network
Professional
RHCE Certified Information System Security Professional CISSP MCDBA
6 Linux Professional Institute MCDST
MS Desktop
Support
Checkpoint Certified Security Admin RHCE
7 Novell Linux CISSP, MCSE, MS Exchange Linux+ CompTIA Network+
8 MySQL MCSA Microsoft Certifed Sy Ad. Citrix Cert. Ad.
9 Security+ MCDBA MS Database Administrator Sun Solaris SA Java Programmer
10 PMP PMP MCDMA, Citrix Enterprise CISSP
Source certcities.com