Current Path : C:/AppServ/www/new_msd1/webengine/system-01/ |
Current File : C:/AppServ/www/new_msd1/webengine/system-01/exportdata.php |
<? header("Content-type: application/xls"); if ($export_filename<>"") { header("Content-Disposition: attachment; filename=".$export_filename.".csv"); } else { header("Content-Disposition: attachment; filename=export_data".date("YmdHi").".csv"); } $export_string = ereg_replace("<br>","\n",stripslashes($export_string)); echo $export_string; exit(); ?>