mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-06 15:05:00 +00:00
Update proxytest.php
This commit is contained in:
parent
370415536e
commit
062d150c84
|
@ -3,6 +3,10 @@
|
|||
// Namhyeon Go <gnh1201@gmail.com>
|
||||
// 2022-10-06
|
||||
|
||||
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>');
|
||||
}
|
||||
|
||||
ini_set("default_socket_timeout", 1); // must be. because of `feof()` works
|
||||
ini_set("max_execution_time", 0);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user