Sr. PHP Programmer Question:
Download Questions PDF

How will you read a file in php?


Once a file is opened using fopen() function it can be read with a function called fread(). This function requires two arguments. These must be the file pointer and the length of the file expressed in bytes.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
How will you redirect a page using PHP?How will you check if session variable is already set or not in PHP?