Pow file
From PlainOldWebserver
pow_file()
A local file can be retrieved in one line.
var contents = pow_file("log.txt")
A non-local file can be retrieved similarly.
var contents = pow_file("http://www.yahoo.com/")
Here are more examples.
<?sjs
var contents = pow_file("/pow/htdocs/pow.css");
document.writeln(contents);
?>
OR
<?sjs
var contents = pow_file("pow.css");
document.writeln(contents);
?>
OR
<?sjs
var contents = pow_file('http://www.yahoo.com/');
document.writeln(contents);
?>
