... | ... | @@ -53,11 +53,11 @@ so back up your database! |
|
|
|
|
|
## modify form
|
|
|
|
|
|
need to add
|
|
|
need to add to the form:
|
|
|
|
|
|
* enctype="multipart/form-data" to the form.
|
|
|
* a hidden field for MAX_FILE_SIZE"
|
|
|
* input type="file"...
|
|
|
* `enctype="multipart/form-data"`
|
|
|
* a hidden field for `MAX_FILE_SIZE`
|
|
|
* input `type="file"`
|
|
|
|
|
|
## uploads directory
|
|
|
|
... | ... | |