Re: Sending Form Result to File
| From: | Jason | Date: | Fri, 30 Nov 2001 09:09:27 +0000 |
| Subject: | Re: Sending Form Result to File | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76170@lists.php.net to get a copy of this message | ||
just pico a file called myforms.csv or something.
use the first line for you schema...
"name","date","comments","etc"
chmod the file to rw permissions or chown to nobody.
$file = fopen("/home/myaccnt/public_html/protected/myforms.csv", "w");
fputs($file,
"\n\"$form_name\",\"$form_date\",\"$form_comments\",\$form_etc\"");
fclose($file);
----- Original Message -----
From: "Ben Clumeck" <bclumeck@home.com>
To: "PHP General" <php-general@lists.php.net>
Sent: Thursday, November 29, 2001 5:34 PM
Subject: [PHP] Sending Form Result to File
> I am looking for a script to send my form results to a .txt file in CSV
(to
> import into Excel) format. Does anyone have a simple code?
>
> Ben
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>