हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

Explain in detail of File handling functions.

Advertisements
Advertisements

प्रश्न

Explain in detail of File handling functions.

संक्षेप में उत्तर
Advertisements

उत्तर

  • PHP Manipulating Files:
    PHP has several functions for creating, reading, uploading, and editing files.
  • PHP readfile() Function:
    The readfile() function reads a file and writes it to the output buffer.
  • PHP Open File – fopen():
    A better method to open files is with the fopen() function.
    This function gives you more options than the readfile() function.
  • PHP Read File – read():
    The fread() function reads from an open file.
  • PHP Close File – close():
    The fclose() function is used to close an open file.
  • PHP Create File – fopen():
    The fopen() function is also used to create a file.
  • Maybe a little confusing, but in PHP. a file is created using the same function used to open files.
  • PHP Write to File – write():
    The fwrite() function is used to write to a file.
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Forms and Files - Evaluation - PART – I [पृष्ठ १२४]

APPEARS IN

सामाचीर कलवी Computer Applications [English] Class 12 TN Board
अध्याय 8 Forms and Files
Evaluation - PART – I | Q 5. | पृष्ठ १२४
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×