Guys, I have a task, but because of inexperience I don’t know how to do it.
There is a file of any format on the server, it can be accessed via a link (for example: ex.com/test.txt). This file is written text. My task is to read this text.
How can I do it?
With what extension should the file be, how should info be written in it, can it be in php or just text, and how, most importantly, should I read this text?
The file will be txt for example, it will have the following:
1) alerts (text)
2) google.com (link)