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
- Host: GitHub
- URL: https://github.com/mevdschee/tail.php
- Owner: mevdschee
- Created: 2015-10-21T01:15:33.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-10-21T08:03:51.000Z (about 10 years ago)
- Last Synced: 2025-05-08T03:52:31.505Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 137 KB
- Stars: 8
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.