dgraham
10-16-2006, 07:39 AM
Hey there. I'm looking for suggestions on the best way to output the contents of a single table from a DB as a CSV file or somesuch. I've tried doing it in the past with straight output buffering and generating the file straight to the browser for download, but that seems to cause problems with timeouts.
So, I started doing running a shell script on the server to generate the file and then just pointing the browser to that file when it was done, but now some people want me to do this, but shell scripts aren't allowed on their server.
Is there a better language I could be using here or something that I just don't know about/might have missed? I'm only posting in the PHP forum because that's what I've used in the past.
Thanks!
So, I started doing running a shell script on the server to generate the file and then just pointing the browser to that file when it was done, but now some people want me to do this, but shell scripts aren't allowed on their server.
Is there a better language I could be using here or something that I just don't know about/might have missed? I'm only posting in the PHP forum because that's what I've used in the past.
Thanks!