本文介绍了将文本插入现有文件(在指定行)。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我想在任何文件的第5行写,然后如何在php中实现这个?
shoonya
suppose i want to write on the 5th line of any file then how to implement this in php??
shoonya
推荐答案
fopen用于打开文件
i我正在谈论在任何给定的行上写作
(首先阅读问题)
shoonya
fopen is for opening the file
i am talking about writing on any given line
(read the question first)
shoonya
这篇关于将文本插入现有文件(在指定行)。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!