ok
Direktori : /home2/selectio/www/lilyexpresslive/software/admin/excel/ |
Current File : /home2/selectio/www/lilyexpresslive/software/admin/excel/create_cargo_entry.php |
<?php ini_set('memory_limit', '333000MB'); include("../inc/config.php"); include("../db.php"); header('Content-Type: text/csv; charset=utf-8'); header('Content-Disposition: attachment; filename=Sample-Cargo-Upload.csv'); $output = fopen("php://output", "w"); $datas=array(); fputcsv($output, array('Customer Type (Regular-1/One time-2) (Required)','DB Code (Required)','AWB No (Required)','Customer Name ','Address (Characters should less than 110)','City (Required)','State (Required)','Destination City (Required)','Pincode(Required)','Phone Number (Required)','Pickup Entry Date(dd-mm-yyyy) (Required)','Actual Weight','Charged Weight','Number of Pieces','Content Description','E Way Bill No','Invoice No','Invoice Value','Shipping Mode','Length1','Width1','Height1','Nob1','Act_wt1','Length2','Width2','Height2','Nob2','Act_wt2','Length3','Width3','Height3','Nob3','Act_wt3','Length4','Width4','Height4','Nob4','Act_wt4','Length5','Width5','Height5','Nob5','Act_wt5','TAT Days (dd-mm-yyyy)','Total No of Pieces')); fclose($output); ?>