mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-06-07 03:29:30 +00:00
feat: curl
This commit is contained in:
parent
6f50b72003
commit
6edf06812e
3 changed files with 50 additions and 0 deletions
10
public/index.php
Normal file
10
public/index.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
// get useragent header
|
||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
||||
|
||||
if(strpos($user_agent, 'curl') !== false) {
|
||||
include 'php/curl.php';
|
||||
} else {
|
||||
include 'index.html';
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue