open a Excel file by PHP query
Posted: Fri Aug 04, 2006 6:40 am
Hi
I have one link for open a excel file, the file is open by perfectly. my issue is i need to open that excel file without prompting window like open or save the file. it has to open directly after clicking the link as like pdf file. i used the following header file but no use.
<?php
header('Content-Type: application/msexcel');
header('Content-Disposition: inline; filename=docfmc2006.xls');
header("Content-Transfer-Encoding: binary");
?>
any idea for this issue? please let me know .
Thank you
Regards,
Sujith
I have one link for open a excel file, the file is open by perfectly. my issue is i need to open that excel file without prompting window like open or save the file. it has to open directly after clicking the link as like pdf file. i used the following header file but no use.
<?php
header('Content-Type: application/msexcel');
header('Content-Disposition: inline; filename=docfmc2006.xls');
header("Content-Transfer-Encoding: binary");
?>
any idea for this issue? please let me know .
Thank you
Regards,
Sujith