Update index.php

This commit is contained in:
Namhyeon Go 2022-10-07 13:55:07 +09:00 committed by GitHub
parent 01ff465414
commit 44e7bd444d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
<?php
// HTTP proxy implementation with PHP socket
// 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) {
exit('<!DOCTYPE html><html><head><title>It works!</title><meta charset="utf-8"></head><body><h1>It works!</h1></body></html>');