contents of the $_FILES array Flashcards

1
Q

$_FILES[‘file’][‘name’]

A

the name of the uploaded file (e.g., smile.jpg)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

$_FILES[‘file’][‘type’]

A

the content type of the file (e.g., image/jpeg)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

$_FILES[‘file’][‘size’]

A

the file’s size in bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

$_FILES[‘file’][‘tmp_name’]

A

the name of the temporary file stored on the server

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

$_FILES[‘file’][‘error’]

A

the error code resulting from the file upload

How well did you know this?
1
Not at all
2
3
4
5
Perfectly