Hi,
This is the code that creates the file
function writeln_to_file($str_txt)
/*
Definition:
This function writes/appends $str_txt to the file
Parameters:
$str_txt; String; The String to be written to file
ReturnType:
NONE;
*/
{
if (!file_exists($this->ao_file_name)) // if the file exists
{
$this->create_file();
$this->writeln_to_file($str_txt);
}
else
{
$str_txt .= "\r\n";
$this->ao_file_handle = fopen($this->ao_file_name,"ab");
fwrite($this->ao_file_handle,$str_txt);
}
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php