Recent Posts
None | 2 sec ago
None | 19 sec ago
XML | 22 sec ago
None | 27 sec ago
None | 38 sec ago
None | 46 sec ago
XML | 1 min ago
None | 1 min ago
None | 1 min ago
None | 1 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Anonymous on the 11th of Mar 2008 03:28:20 AM Download | Raw | Embed | Report
  1.                 header('Content-type: application/vnd.oasis.opendocument.text');       
  2.                 header('Content-Disposition: attachment; filename="' . $this->viewVars['course']['title'] . '.odt"');
  3.                 header("Content-Length: " .  filesize($destinationFile));
  4.                 header("Content-Transfer-Encoding: binary\n");
  5.                
  6.                 readfile($destinationFile);
  7.                 exit;
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: