Writing and appending work notes to files_PHP tutorial

WBOY
Release: 2016-07-13 17:27:02
Original
1089 people have browsed it


............(omitted)
$filename=date(Ymd).".xml"; $source_file="/usr/local/IVR/sendwireless/xml /data/".$filename; //File address $file_pointer = fopen($source_file, "a"); (If the file does not exist, it will be automatically generated) //Parameter a append w new write
fwrite($ file_pointer, ""); fwrite($file_pointer, ""); for ($i = 0; $i"); } fwrite($file_pointer, ""); fwrite ($file_pointer, ""); fclose($file_pointer);
Complete XML format text

.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/531899.htmlTechArticle............(omitted) $filename=date(Ymd) ..xml; $source_file=/usr/local/IVR/sendwireless/xml/data/.$filename; //File address $file_pointer = fopen($source_file, a); (If the file does not exist...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template