Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend 200-710 Exam - Topic 3 Question 96 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 96
Topic #: 3
[All 200-710 Questions]

Which PHP function is used to validate whether the contents of $_FILES['name']['tmp_name'] have really been uploaded via HTTP, and also save the contents into another folder?

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Misty
2 days ago
Yup, move_uploaded_file() is the one!
upvoted 0 times
...
Blondell
7 days ago
Wait, are you sure? I thought it was something else.
upvoted 0 times
...
Rasheeda
12 days ago
Totally agree, that's the right function.
upvoted 0 times
...
Mabel
1 month ago
It's definitely move_uploaded_file()!
upvoted 0 times
...
Stephaine
1 month ago
move_uploaded_file() is the correct function, but I always forget the order of the parameters.
upvoted 0 times
...
Leigha
1 month ago
move_uploaded_file() is the answer, but I bet the exam writer had a hard time coming up with that one!
upvoted 0 times
...
Lauran
2 months ago
move_uploaded_file() is the answer, but I'm still wondering why they call it "tmp_name"?
upvoted 0 times
...
Rashad
2 months ago
move_uploaded_file() is the function you need to validate and save the uploaded file.
upvoted 0 times
...
Cecil
2 months ago
move_uploaded_file() is the correct answer, no doubt about it.
upvoted 0 times
...
Roselle
2 months ago
I'm a bit confused about the validation aspect. Does move_uploaded_file() check if the file was uploaded via HTTP, or do we need to do that separately?
upvoted 0 times
...
Elmira
2 months ago
I feel like there was a question similar to this in our last mock exam, and it was also about move_uploaded_file(). But I can't recall if there were any other functions mentioned.
upvoted 0 times
...
Salley
2 months ago
I remember practicing with file uploads, and I believe move_uploaded_file() is the right choice. It definitely saves the file to another folder.
upvoted 0 times
...
Twana
3 months ago
I think the function we're looking for is move_uploaded_file(), but I'm not entirely sure if it handles the validation part too.
upvoted 0 times
...
Kerrie
3 months ago
I'm feeling pretty confident about this one. The move_uploaded_file() function is the right choice to handle the file upload validation and saving.
upvoted 0 times
...
Kenneth
3 months ago
Okay, I remember now - move_uploaded_file() is the function we use to validate and save uploaded files. That's the answer I'll go with.
upvoted 0 times
...
Vanesa
3 months ago
The move_uploaded_file() function is the one we want. It checks that the file was properly uploaded and then moves it to the desired location.
upvoted 0 times
...
Valentin
3 months ago
I think the answer is A) move_uploaded_file(). It's the right function for file uploads.
upvoted 0 times
...
Lourdes
3 months ago
The move_uploaded_file() function is the way to go!
upvoted 0 times
...
Noel
4 months ago
I remember using move_uploaded_file() in my projects. It's reliable.
upvoted 0 times
...
Mica
4 months ago
Hmm, I'm a bit unsure about this one. I know there's a function to handle file uploads, but I can't quite remember the name.
upvoted 0 times
...
German
4 months ago
I think the move_uploaded_file() function is what we need to validate and save the uploaded file.
upvoted 0 times
Idella
4 months ago
Can't imagine handling uploads without it!
upvoted 0 times
...
...

Save Cancel