Re: [PHP] I am making a mailing list but....

2001-09-13 Thread Kyle Smith

I really need help on this one, so someone please!


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 12, 2001 8:53 PM
Subject: [PHP] I am making a mailing list but


. how do i make php add something to a text document on the smae line
cause i need the text document to look like this

[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED];

so well, how do i get it to add on to line 1 and would i need it to make the
; go on the last line cause php cat delete things in txt documents?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] I am making a mailing list but....

2001-09-13 Thread Michael Geier, CDM Systems Admin

It would help if you were a little more descriptive about this...

Are you trying to do this in the To: field, the Cc: or Bcc: fields, actually
in the body of a message, in a flat file, in a DB...

flat file:
$fp = fopen(filename,w);
//emails in array
while ($tmp = array_shift($array)) { fputs($fp,$tmp; ); }
fclose($fp);


-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 13, 2001 7:19 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] I am making a mailing list but


I really need help on this one, so someone please!


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666


- Original Message -
From: Kyle Smith [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, September 12, 2001 8:53 PM
Subject: [PHP] I am making a mailing list but


. how do i make php add something to a text document on the smae line
cause i need the text document to look like this

[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED];

so well, how do i get it to add on to line 1 and would i need it to make the
; go on the last line cause php cat delete things in txt documents?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] I am making a mailing list but....

2001-09-12 Thread Jack Dempsey

You should really think about storing things in a db...mysql's free and
easy to use and install, and will save you lots of time (especially with
this kind of question)

If you're only trying to add something to line one, you could open a
file, read it, open a new one, print whatever you need to add to the new
one concatenated with the old line one, then the rest of the file...if
you have a specific line number it'll be harder...

Switching to a db is well worth it, believe me.

-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, September 12, 2001 11:53 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I am making a mailing list but

. how do i make php add something to a text document on the smae
line cause i need the text document to look like this

[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED];

so well, how do i get it to add on to line 1 and would i need it to make
the ; go on the last line cause php cat delete things in txt
documents?


-lk6-
http://www.StupeedStudios.f2s.com
Home of the burning lego man!

ICQ: 115852509
MSN: [EMAIL PROTECTED]
AIM: legokiller666




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] I am making a mailing list but....

2001-09-12 Thread Adam

amen. a database solved my data storage for good and i could never get along
without it now. also scripst like these can currupt files that it writes to
if a person does certains things while browsing. (ex. refreshing realy fast)

get a DB it's way easier to manage.

-Adam



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]