-----Original Message-----
From: Jerry Lake [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 13, 2001 9:55 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] write form data to a text file
> This goes along with my previous question
> I don't see a php function to make a file
Cut'n'paste from: <http://www.php.net/manual/en/function.fopen.php>
--
'r' - Open for reading only; place the file pointer at the beginning of the
file.
'r+' - Open for reading and writing; place the file pointer at the beginning
of the file.
'w' - Open for writing only; place the file pointer at the beginning of the
file and truncate the file to zero length. If the file does not exist,
attempt to create it.
'w+' - Open for reading and writing; place the file pointer at the beginning
of the file and truncate the file to zero length. If the file does not
exist, attempt to create it.
'a' - Open for writing only; place the file pointer at the end of the file.
If the file does not exist, attempt to create it.
'a+' - Open for reading and writing; place the file pointer at the end of
the file. If the file does not exist, attempt to create it.
--
Hint: Look for options with "If the file does not exist, attempt to create
it." :)
--
Christian Jørgensen
http://www.razor.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]