All pastes #360699 Raw Edit

Miscellany

public php v1 · immutable
·published 2007-02-17 17:47 UTC
rendered paste body
function savedata($data, $file) {	$file = str_replace(" ", "-", $file);	$fp = fopen(LOCAL_CACHE.$file, "w+");	fwrite($fp, $data);	fclose($fp);}