Web technologies Questions | | Question 9

Last Updated :
Discuss
Comments

Which of the below is the correct syntax for opening the given file in PHP?

"geeky.txt"

fopen("geeky.txt", "r");

fopen("geeky.txt", "w");

fopen("geeky.txt", "read");

fopen("geeky.txt");

Share your thoughts in the comments