PHP हमें दो ऐसे Functions Provide करता है, जिनका प्रयोग करके हम किसी Data को Formatted Form में File में Write कर सकते हैं और उसी Formatted Form में Data को फिर से Read भी कर सकते हैं। ये दोनों Functions निम्नानुसार हैं: fprintf() Function ये Function printf() Function की तरह ही काम करता है, लेकिन ये Function Data को Output में नहीं बल्कि किसी File Pointer से Associated File में Write करता हैं। इस Function का Syntax निम्नानुसार होता … [Read more...]
Formatted File Writing and Reading in PHP
Filed Under: Core PHP in Hindi Tagged With: FILE_APPEND, file_get_contents, file_get_contents https, file_get_contents in php, file_get_contents not working, file_get_contents php, file_get_contents post, file_get_contents ssl, file_get_contents url, file_get_contents() Function, file_put_contents, file_put_contents php, file_put_contents() Function, FILE_USE_INCLUDE_PATH, Formatted File Writing and Reading, fprintf, fprintf double, fprintf example, fprintf examples, fprintf format, fprintf stderr, fprintf() Function, fscanf, fscanf() Function, LOCK_EX, php file_get_contents, php file_get_contents https, php file_get_contents ssl, php file_put_contents, php fprintf