php header pdf

Solutions on MaxInterview for php header pdf by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "php header pdf"
Lindsay
18 Jan 2017
1<?php
2header("Pragma: public");
3    header("Expires: 0");
4    header("Accept-Ranges: bytes");
5    header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
6    header("Content-Type: application/pdf");
7    header("Content-Disposition: attachment; filename=order.pdf");
8    header("Content-Transfer-Encoding: binary");