How will you open a file in readonly mode?

Submitted by: Muhammad
The PHP fopen() function is used to open a file. It requires two arguments stating first the file name and then mode in which to operate. "r" mode opens the file for reading only and places the file pointer at the beginning of the file.
Submitted by: Muhammad

Read Online Sr. PHP Programmer Job Interview Questions And Answers