Source Code for Me (

Allows you to paste souce code to blogs! Adapted for Twitter! Here is Search Form in case you missed your code.
Selected Language:
Show Linenumbers:
Short link for Twitter:

HTML view:

Copy Source | Copy HTML
  1. header('Content-Type: '.$arr['type']);
  2. header('Content-Length: '.$arr['size']);
  3. header('Content-Disposition: attachment; FILENAME="'.$fname.'"; size="'.$arr['size'].'"');
  4. echo file_get_contents($arr['tmp_name']);

Based on Manoli.Net's CodeFormatter. Made by Topbot (c) 2008-2017