MCQs > IT & Programming > PHP > Correct way to open the file 'sample.txt' as read only?

PHP MCQs

Which of the following is the correct way to open the file "sample.txt" as read only?

Answer

Correct Answer: fopen("sample.txt", "r");

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it