Support » Plugins » Hacks » header('Content-Disposition: …

  • Hi,

    i am coding a plugin and i want to send some infos as text file
    directly to the user.
    I tryed this but i looks like headers are already send so it doesent work.
    Is there an other option?

    My Code:

    header('Content-Disposition: attachment; filename=textfile.txt');
    header('Content-type: text/plain');
    echo $output;
  • The topic ‘header('Content-Disposition: …’ is closed to new replies.