<<< Previous question <<< Question ID#0274.md >>> Next question >>>
Consider the following PHP script:
header("Content-type:application/pdf");
header("Content-Disposition:attachment;filename='2.pdf'");
readfile("1.pdf");
What will be the default name of the downloaded pdf?
- A) 2.pdf
- B) 1.pdf
- C) The script will throw an error message.
- D) NULL
Answer
Answer: A