submit buttons are so much better than submit inputs.
Pass the method into the example template.
HTML attributes should be double quoted.
Use formidable to handle multipart-encoded form data.
Make the complex example use POST and be multipart-encoded.