Page 1 of 1

making links from a flat text file

Posted: Fri May 12, 2006 10:35 am
by spudmclard
Hi is it possible to read a flat text file in the following format

user1
user2
user3 etc....

and produce a html file where each entry is a clickable link???

Hope someone can help..

Posted: Fri May 12, 2006 10:43 am
by hawleyjr
Sure is. Take a look at:

file()
fopen()
file_get_contents()