❮ Index
❯
TOC: PHP programming
- PHP
- About - History
- HTTP: A few words about how the web works
- Hello world
- Hello world, no HTML
- HTML inside PHP
- phpinfo
- Comments
- Errors
- print vs echo
- Numbers
- Numerical Operations
- Strings - concatenation
- Variables
- Variable interpolation (or variable expansion)
- String functions
- addslashes
- stripslashes
- trim - remove white spaces from both ends of a string
- PHP - Arrays
- PHP - Files
- Read from file
- Fail to open file
- Checking if open file succeded
- Checking if open file succeded - suppress warnigs
- Read CSV file
- Open file to read or write
- Write to a file
- Fail to write to a file
- Registration form - save to fill
- copy - Copy a file
- unlink - Delete a file
- chmod
- chown - Change owner
- Get current working directory - getcwd
- Show source
- PHP - PCRE - Perl compatible Regular Expressions
- PHP - more
- PHP - mysql
- Testing PHP
- Starting the server
- Almost manually testing add()
- Print expected values as well
- Compare actual with expected values and print only pass/fail
- Refactor to get assertTrue
- Introduction to the PHP SimpleTest framework
- assertTrue in SimpleTest
- SimpleTest showing success
- assertEqual showing the actual values
- SimpleTest showing description of error
- PHP SimpleTest
- Testing PHP on the command line
- Testing PHP Application
- Check web page content
- Check web page title
- Check web page content a failure
- Checking forms
- Submit form
- Check for text that should not be there.
- Testing PHP with PHPUnit