[SOLVED] Download Dynamic Text File

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sell-traffic
Forum Commoner
Posts: 26
Joined: Thu Aug 05, 2004 9:35 pm

[SOLVED] Download Dynamic Text File

Post 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
Last edited by sell-traffic on Wed Oct 13, 2004 11:05 pm, edited 1 time in total.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post 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!!!!!
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Or the browse the PHP Manual under the section you're interested in.
sell-traffic
Forum Commoner
Posts: 26
Joined: Thu Aug 05, 2004 9:35 pm

Post by sell-traffic »

Thanks, I'll have a look around
Post Reply