An open API service indexing awesome lists of open source software.

https://github.com/mevdschee/tail.php

Tail (follow) a remote file using a PHP script and telnet
https://github.com/mevdschee/tail.php

Last synced: 8 months ago
JSON representation

Tail (follow) a remote file using a PHP script and telnet

Awesome Lists containing this project

README

          

# tail.php

Tail (follow) a remote file using a PHP script and telnet

```
$ telnet localhost 80
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
```

You have to enter:

```
GET /tail.php HTTP/1.1
Host: localhost

```
NB: Make sure you end the above telnet commands with an empty line!

You can use Ctrl + ']' to get to the telnet prompt and type "quit" to exit.