1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 15:22:19 +01:00
Files
archived-web-php/track_ref.php
2011-07-19 05:28:36 +00:00

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