I want to transfer data in export from my php reports.
it works also. but the problem is when i open that .xls file in notepad i can view all my data. i don't want this.my data will be unsecure.can anybody tell me solution??
code is as below:
$xlsfile = "Total Addtion".date("m-d-Y-hiA").".xls"; header('Content-type: application/ms-excel'); header("Content-Disposition: attachment; filename=$xlsfile"); header("Pragma: no-cache"); header("Content-Transfer-Encoding: binary ");