Re: Outputting Data

From: Date: Thu, 05 Aug 2004 22:55:16 +0000
Subject: Re: Outputting Data
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192942@lists.php.net to get a copy of this message
On Thu, 5 Aug 2004 23:13:32 +0100, Harlequin <michael.mason@arraspeople.co.uk> wrote: > It appears that I am unable to output the data to a directory because > although my user has sufficient privileges on the database to execute the > query the user in question does not have file privileges. > > As I am reliant on my host I'm looking for other ways to achieve this. Could > I possibly set a prompt for downloading the file...? If so, how...? Or could > I echo to screen and copy and paste...? > > I'm looking for a better solution than that last brain fart though. Ideally > a download option but although I have scoured the web cannot seem to find > anything specifically related to downloading a CSV output from MySQL. > Use headers to give the content type and filename. Or you could set the permissions on the dir to 777. -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin--

« previous php.general (#192942) next »