Which function you can use in php to open a file for reading or writing or for both?



Which function you can use in php to open a file for reading or writing or for both?..

Answer / Geetanjali

The fopen() function is used in PHP to open a file for reading, writing, or both.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Is salary a ratio or interval?

1 Answers  


Explain what are the three classes of errors that can occur in php?

1 Answers  


What is difference between single quotes and double quotes in php?

1 Answers  


Are php variables global?

1 Answers  


What is the use of print_r function in php?

1 Answers  


What is the use of inner join in mysql?

1 Answers  


What are the functions to be used to get the image's properties (size, width and height)?

1 Answers  


What is a variable cost example?

1 Answers  


Tools used for drawing er diagrams?

1 Answers  


Which function will suitably replace 'x' if the size of a file needs to be checked? $Size=x(filename);

1 Answers  


What is the difference between get and post in php?

1 Answers  


Which function is used in php to search a particular value in an array?

1 Answers  


Categories