mirror of
https://github.com/php/web-php.git
synced 2026-03-24 15:22:19 +01:00
8 lines
170 B
PHP
8 lines
170 B
PHP
<?php
|
|
if(!empty($_GET['ref']) && !empty($_GET['url'])) {
|
|
file_put_contents("/var/tmp/refer.txt","{$_GET['url']} from {$_GET['ref']}\n",FILE_APPEND);
|
|
echo "OK";
|
|
}
|
|
?>
|
|
KO
|