![]() “$string” term is the data/information which is to be written inside the file.“$handle” term is the file pointer’s resource.“fwrite” PHP function will help to write some data to the files.PHP write function will help you to write files. ![]() So no output in the browser mostly if the file really exists. Die() will display the message which is existed inside of the parenthesis. The below syntax just open’s the file which has the name as file_name.txt and if not found then out will print which is in the die() function and die() function will be executed when the error occurs. Likewise “$context” is also optional which can be used in order to specify the context support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |