Ticket #1146: handler.php
| File handler.php, 328 bytes (added by , 20 years ago) |
|---|
| Line | |
|---|---|
| 1 | <? |
| 2 | require_once 'includes/init.php'; |
| 3 | |
| 4 | if ($Path[1] <> "") |
| 5 | { |
| 6 | $fp = fsockopen ("127.0.0.1", 6546, $errno, $errstr, 30); |
| 7 | if (!$fp) |
| 8 | { |
| 9 | echo "$errstr ($errno)<br />\n"; |
| 10 | } |
| 11 | else |
| 12 | { |
| 13 | fputs ($fp, "key ".$Path[1]."\nquit \n"); |
| 14 | fclose($fp); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | |
| 19 | require_once theme_dir.'/remote/key.php'; |
| 20 | ?> |
