Page 1 of 1 1
Topic Options
#119561 - 2004-05-14 10:26 AM email / ReadFile output
jechilt Offline
Starting to like KiXtart

Registered: 2000-12-01
Posts: 102
Loc: Denver Colorado
Greetings,

I am feeling really dumb about now.
I need to be able to read in a file (template) to send as the body of a message.
I have looked at the ReadFile() that is in the UDF Library.
I guess I am not smart enough to use this because I can't figure out how to output the data so it will show in the message body.

I used a variable to reference the file to read. The variable is passed to the FeadFile($varialbe). So far no problems.
However, after this I am assuming everything worked, but I have no idea how to determine if the text is read into the array. How do I output the data?
_________________________
John
LM Contractor
One of the 2 dads

Top
#119562 - 2004-05-14 10:55 AM Re: email / ReadFile output
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
for each $line in readfile($myfile)
$line ?
next
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.097 seconds in which 0.071 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org