Page 1 of 1

[SOLVED] Download Dynamic Text File

Posted: Wed Oct 13, 2004 8:51 pm
by sell-traffic
Hi Everyone,

I have a mysql database that contains all the email members of my newsletter. What I would like to do is have a link (my access only, not public) that would create a txt file with one email on a line. I have no idea where to get started with this.

Thanks,

Josh

Posted: Wed Oct 13, 2004 9:29 pm
by John Cartwright
[php_man]file_get_contents[/php_man] and [php_man]file_put_contents[/php_man] or [php_man]fopen[/php_man], [php_man]fread[/php_man], [php_man]fwrite[/php_man] and[php_man]fclose[/php_man]

and when in doubt, google!!!!!

Posted: Wed Oct 13, 2004 11:04 pm
by m3mn0n
Or the browse the PHP Manual under the section you're interested in.

Posted: Wed Oct 13, 2004 11:05 pm
by sell-traffic
Thanks, I'll have a look around