Skip to content

Instantly share code, notes, and snippets.

View tymrtn's full-sized avatar

Tyler Martin tymrtn

View GitHub Profile
@tymrtn
tymrtn / gist:f87926dfc80220b2931e0542f8756a4f
Created January 18, 2021 00:10 — forked from siffring/gist:3130009
Export ExpressionEngine members to CSV
<?php
header('Content-Type: application/csv');
header('Content-Disposition: attachment; filename=member_export.csv');
header('Pragma: no-cache');
?>
{!--
Exports the EE members in CSV format. This is only accessible to admins and editors.
Does not export members in the banned or guests groups.