What a day like that. Polineta climbed, could not find. There is a page. You need to save it on the computer by the button.
And the fputs tried, and ob_start .

Tell me, good people, how to save the current page?

  • hm, you can try to load Curl'om itself and write to a file - Jbyh
  • or via JS - Jbyh

1 answer 1

  header('Content-Type: text/x-csv; charset=utf-8'); header("Content-Disposition: attachment;filename=".date("dmY")."-export.xls"); header("Content-Transfer-Encoding: binary "); 
  • @anunak, Try to write more detailed questions. - stck