My next question: How do I get the file to download without the ".php" extension on the end? It's downloading it as "filename.csv.php".
The code to right my headers is:
header("Content-Type: text/comma-separated-values");
header("Content-Disposition: attachment; filename=$name.csv");Do I need to add another header?
-Ben
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

