You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: user_guide_src/source/libraries/uploaded_files.rst
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -231,7 +231,7 @@ Single File
231
231
If you just need to access a single file, you can use ``getFile()`` to retrieve the file instance directly. This will return an instance of ``CodeIgniter\HTTP\Files\UploadedFile``:
232
232
233
233
Simplest usage
234
-
^^^^^^^^^^^^^^
234
+
--------------
235
235
236
236
With the simplest usage, a single file might be submitted like::
237
237
@@ -242,7 +242,7 @@ Which would return a simple file instance like::
242
242
$file = $this->request->getFile('userfile');
243
243
244
244
Array notation
245
-
^^^^^^^^^^^^^^
245
+
--------------
246
246
247
247
If you used an array notation for the name, the input would look something like::
0 commit comments