Update index.php

This commit is contained in:
Namhyeon Go 2024-02-26 22:17:52 +09:00 committed by GitHub
parent c349d83ed1
commit 7592240358
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,7 +5,7 @@
// Created at: 2022-10-06
// Updated at: 2024-02-26
define("PHP_HTTPPROXY_VERSION", "0.2.0-dev");
define("PHP_HTTPPROXY_VERSION", "0.1.5");
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><p><a href="https://github.com/gnh1201/caterpillar">Download the client</a></p><hr><p>php-httpproxy/' . PHP_HTTPPROXY_VERSION . ' (Server; PHP ' . phpversion() . '; abuse@catswords.net)</p></body></html>');