php3-list | 199903

[PHP3] Re: 2 small questions... From: Mario Jorge Nunes Filipe (mjnf <email protected>)
Date: 02/24/99

> Number 1 - I want to produce a CSV file of a set of records from a
> database so that the users can import it into Excel (or similar). I
> would like to know if there is a way i can force the browser to show a
> file save dialog to save the file instead of showing the records on
> screen and forcing them to save.

        Ok! Found the anwser:

        header("Content-Type: Pautas/Pautas");

        Is there a way to change the default name that the browser gives to the
file ? (normally the xxx.ph[p3][tml])

        Thanks

-- 
        Mario Filipe 
        mjnf <email protected>
        http://neptuno.sc.uevora.pt/~mjnf

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>