Public feed #727641

Someone

public php v1 · immutable
Raw Edit
·published 2007-10-06 06:23 UTC
rendered paste body
# Relevant bit from the main filewhile($data = fgets($socket, 128)) {echo nl2br($data);$total .= nl2br($data);flush();# the function, nothing gets written to the logfunction writeLog() {	global $total;	$log = fopen('log.html', 'a');	fwrite($log, $total);	fclose($log);}