4
我有一些内容需要写入名为bk_strategy-ptr-to-real-file.h
的文件。这里是代码:无法使用rpc xml将内容写入文件
echo $content = $header.$parameters.$footer;
$myFile = "/home/vikas/hft/common/internal/config/trader/master/bk_strategy-ptr-to-real-file.h";
$fh = fopen($myFile, 'w') or die("can't open file");
fwrite($fh, $content);
fclose($fh);
这是可能使用xml rpc编写文件吗?
它的扩展文件是.h,因为它是c编程语言中的头文件。 –