mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 01:41:00 +00:00
Update index.php
This commit is contained in:
parent
01ff465414
commit
44e7bd444d
|
@ -1,7 +1,8 @@
|
||||||
<?php
|
<?php
|
||||||
// HTTP proxy implementation with PHP socket
|
// HTTP proxy implementation with PHP socket
|
||||||
// Namhyeon Go <gnh1201@gmail.com>
|
// Namhyeon Go <gnh1201@gmail.com>
|
||||||
// 2022-10-06
|
// Created at: 2022-10-06
|
||||||
|
// Updated at: 2022-10-07
|
||||||
|
|
||||||
if (strpos($_SERVER['HTTP_USER_AGENT'], "php-httpproxy/") !== 0) {
|
if (strpos($_SERVER['HTTP_USER_AGENT'], "php-httpproxy/") !== 0) {
|
||||||
exit('<!DOCTYPE html><html><head><title>It works!</title><meta charset="utf-8"></head><body><h1>It works!</h1></body></html>');
|
exit('<!DOCTYPE html><html><head><title>It works!</title><meta charset="utf-8"></head><body><h1>It works!</h1></body></html>');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user