[development] How do I send a file to the user?

Konstantin Käfer kkaefer at gmail.com
Thu Feb 1 14:49:19 UTC 2007


> So what should I do instead of calling die()?

The same problem exists with JSON "pages". The solution:

// after you're done outputting all your content, run:
drupal_page_footer();
exit;


Konstantin Käfer – http://kkaefer.com/




More information about the development mailing list