File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
user_guide_src/source/libraries Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ this code and save it to your **app/Controllers** directory:
83
83
84
84
.. literalinclude :: uploaded_files/002.php
85
85
86
- Since HTML file element has no value attribute, and the upload file is stored in the
86
+ Since the value of a file upload HTML field doesn't exist, and is stored in the
87
87
``$_FILES `` global, only :ref: `rules-for-file-uploads ` can be used to validate
88
88
the upload file with :doc: `validation `.
89
89
@@ -398,4 +398,8 @@ passing it as the second parameter:
398
398
399
399
.. literalinclude :: uploaded_files/020.php
400
400
401
- Storing an uploaded file can fail, with an ``HTTPException ``, under same circumstances like moving file.
401
+ Moving an uploaded file can fail, with an ``HTTPException ``, under several circumstances:
402
+
403
+ - the file has already been moved
404
+ - the file did not upload successfully
405
+ - the file move operation fails (e.g., improper permissions)
You can’t perform that action at this time.
0 commit comments