Looping through txt files

Tricyclethief

Client
Регистрация
10.02.2011
Сообщения
21
Реакции
0
Баллы
0
Is there a way to make a template loop through a file full of email addresses until it runs out?

For example: I have a file full of emails. I want to use those emails to create accounts to mixx.com. I don't know how many emails are in the file. How do I make it loop through the file and stop when it reaches the end?

Thanks.
 
There're few ways how you can get it. 1st one just remove line from file, when you got it.
And it's easier then other.
 
The problem is that I don't want to have to check the length of the file before I run the template every time. Right now, I am about to try to just remove one line from the file every time I use an email. Is there a way to stop the template from running when it runs out of lines in the file?
 
Thanks. I will work on this when I get home.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)