1. PHP
  2. PHP
    1. About - History
    2. HTTP: A few words about how the web works
    3. Hello world
    4. Hello world, no HTML
    5. HTML inside PHP
    6. phpinfo
    7. Comments
    8. Errors
    9. print vs echo
    10. Numbers
    11. Numerical Operations
    12. Strings - concatenation
    13. Variables
    14. Variable interpolation (or variable expansion)
    15. String functions
    16. addslashes
    17. stripslashes
    18. trim - remove white spaces from both ends of a string
  3. PHP - Arrays
    1. Array
    2. Associative Array
    3. Array in key/value pairs
    4. Array in key/value pairs using each
    5. sort
    6. asort
    7. ksort
    8. Special Arrays
    9. The _SERVER variable
    10. A simple form
    11. A simple calculator
    12. If statement
    13. for loop
    14. Exercise: improve the calculator
    15. Exercise: keep values in the fields
  4. PHP - Files
    1. Read from file
    2. Fail to open file
    3. Checking if open file succeded
    4. Checking if open file succeded - suppress warnigs
    5. Read CSV file
    6. Open file to read or write
    7. Write to a file
    8. Fail to write to a file
    9. Registration form - save to fill
    10. copy - Copy a file
    11. unlink - Delete a file
    12. chmod
    13. chown - Change owner
    14. Get current working directory - getcwd
    15. Show source
  5. PHP - PCRE - Perl compatible Regular Expressions
    1. preg_match - PHP Regex Match
  6. PHP - other
    1. Send mail
    2. Phonebook
    3. Exercise: enlarge the phonebook
    4. Exercise: enable editing the entries
    5. Exercise: complex
    6. Parse XML file
    7. Functions
    8. Resources
  7. PHP - mysql
    1. MySQL - connect
    2. Fetch data from MySQL server
    3. INSERT data into MySQL
  8. Testing PHP
    1. Starting the server
    2. Almost manually testing add()
    3. Print expected values as well
    4. Compare actual with expected values and print only pass/fail
    5. Refactor to get assertTrue
    6. Introduction to the PHP SimpleTest framework
    7. assertTrue in SimpleTest
    8. SimpleTest showing success
    9. assertEqual showing the actual values
    10. SimpleTest showing description of error
    11. PHP SimpleTest
    12. Testing PHP on the command line
    13. Testing PHP Application
    14. Check web page content
    15. Check web page title
    16. Check web page content a failure
    17. Checking forms
    18. Submit form
    19. Check for text that should not be there.
  9. Testing PHP with PHPUnit
    1. Introduction to PHPUnit
    2. assertTrue with PHPUnit
    3. PHPunit showing success
    4. PHPUnit with assertEqual
    5. assetEqual with message
    6. Installing PHP Unit