Test Your Knowledge
printfconversion specifier would you use to display a floating-point number?
printfstatement could be used to take the input string “Happy Birthday” and output the string “**Happy”?
To send the output from
printfto a variable instead of to a browser, what alternative function would you use?
How would you create a Unix timestamp for 7:11 AM on May 2, 2016?
Which file access mode would you use with
fopento open a file in write and read mode, with the file truncated and the file pointer at the start?
What is the PHP command for deleting the file file.txt?
Which PHP function is used to read in an entire file in one go, even from across the Web?
Which PHP system variable holds the details on uploaded files?
Which PHP function enables the running of system commands?
What is wrong with the following XHTML 1.0 tag:
<input type=file name=file size=10>?