CGI capabilities

When they say that cgi can write to a server does that mean that it could only add further things to an existing file, or can it create a totally new file and edit it?
[174 byte] By [jpeanuta] at [2007-11-26 13:34:49]
# 1
A CGI script is a program that runs on the server host and is invoked by the web server. Unless you configure your server to disallow it, a CGI script can easily create a new file on the server.
paulcwa at 2007-7-7 22:16:58 > top of Java-index,Java Essentials,New To Java...