Пример #1
0
<?php

require_once "../init.php";
$fp = e_fopen(uniqid("wk_") . ".txt", "w");
e_fwrite($fp, "xxxxxx aiueo xxxxxxx");
e_fclose($fp);
Пример #2
0
function e_fputs($fp, $contents)
{
    e_fwrite($fp, $contents);
}
Пример #3
0
<?php

require_once "../init.php";
$filename = uniqid("wk_") . ".txt";
$fp = e_fopen($filename, "a");
e_fwrite($fp, "xxxxxx aiueo xxxxxxx");
e_fclose($fp);
$fp = e_fopen($filename, "a");
e_fwrite($fp, "\nyyyyyy kiueo yyyyyy");
e_fclose($fp);