In the following statement, If the second argument is set to FALSE will the statement return the filename along with its full path?? Or what will it do? thanks.
$filename = $uploader->getFileName(NULL, FALSE);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the zend documentation 19.1.4:
In simple english; settings the second parameter to false will make
getFileNamereturn the filename without it’s path.If it will normally return
/internet/stackoverflow/question_8555785.txtit will only returnquestion_8555785.txtwhen the second parameter to the function isfalse.