diff options
Diffstat (limited to 'user_guide/libraries')
-rw-r--r-- | user_guide/libraries/file_uploading.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user_guide/libraries/file_uploading.html b/user_guide/libraries/file_uploading.html index 652aaa528..1051dcbb1 100644 --- a/user_guide/libraries/file_uploading.html +++ b/user_guide/libraries/file_uploading.html @@ -260,6 +260,16 @@ $this->upload->initialize($config);</code> <tr> +<td class="td"><strong>file_name</strong></td> +<td class="td">None</td> +<td class="td">Desired file name</td> +<td class="td"> + <p>If set CodeIgniter will rename the uploaded file to this name.</p> + <p class="important"><strong>Note:</strong>The filename should not include a file extension.</p> +</td> +</tr> + +<tr> <td class="td"><strong>overwrite</strong></td> <td class="td">FALSE</td> <td class="td">TRUE/FALSE (boolean)</td> |