Re: export to csv file
| From: | Michael GARGIULLO | Date: | Sun, 29 Sep 2002 16:45:28 +0000 |
| Subject: | Re: export to csv file | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22082@lists.php.net to get a copy of this message | ||
You need to specify a path that the webserver has write permissions to.
Yes this can be bad, so be careful. I have a script that grabs data
from2 databases and writes the report out to a csv file, which the
browser then downloads.
----- Original Message -----
From: Diana Castillo <diana.castillo@nvtechnologies.com>
Date: Saturday, September 28, 2002 10:02 am
Subject: [PHP-DB] export to csv file
> Hi, I want to export some fields on a regular basis from a table
> to a text
> file, preferable to the users local computer. I tried writing to a
> file with
> fopen but I get "permission denied" when I try to open it for writing.
> What is the best solution?
> Thanks,
> Diana
>
> --
> See my web page:
> http://www.netrox.net/%7Ecastillo/hghindex.htm
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>