Results 1 to 2 of 2

Thread: exporting a csv file

  1. #1
    User
    Join Date
    01-25-10.
    Location
    France
    Posts
    61

    Default exporting a csv file

    Hello,
    I don't know how to export (or to download ) a file from the serveur to a local station
    I have tried something like
    - building a file ( nam in $filename)
    - header('Content-Disposition: attachment; filename="'.$filename.'"');
    - header('Content-Disposition: attachment; filename="'.$filename.'"');
    - readfile($filename);

    But that's not a good way

    Some one can help
    Thank you
    Sharing and growing

  2. #2

    Default Re: exporting a csv file

    Look for Controller::sendFileToBrowser() in the API Reference
    Extensions: avatar, cron, dlstats, editarea, geshi, helpdesk, recall, rep_*, smhcheck.
    FAQ's - Documents - Tickets
    Please no help requests by PM, use the forum or ticket link above instead!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •