Dreamweaver Cinco de Mayo 2011
by jayperetz • • Comments Off
Lecture Outline
- Review quiz 3
- Job postings
- Curriculum – topics for next 3 weeks
PHP Feedback in Dreamweaver
- print_r(mixed $expression [, bool $return = false ]) – displays information about a variable in a way that’s readable by humans
- Dreamweaver LIVE CODE mode
File Uploads
- Uploading files with PHP – $_FILES[]
- Setting permissions on an upload folder
- File type input element
- move_uploaded_file(string $filename , string $destination)
- is_uploaded_file(string $filename)
Advanced Forms Processing
- $_POST[] and checkboxes, select lists, radio groups, checkbox groups, multiple select lists.
- Writing Data to a text file
Simple HTML Email
- $headers = ‘MIME-Version: 1.0′ . “rn”;
$headers .= ‘Content-type: text/html; charset=iso-8859-1′ . “rn”;
Simple Database Access