Untitled


SUBMITTED BY: Guest

DATE: May 29, 2015, 2:26 p.m.

FORMAT: Text only

SIZE: 250 Bytes

HITS: 882

  1. <?php
  2. function getip() {
  3. $ipaddress = $_SERVER["REMOTE_ADDR"];
  4. $ipaddress = date('Y-m-d H:i:s ').$ipaddress;
  5. return $ipaddress;
  6. }
  7. $zwrot = getip();
  8. file_put_contents(ajpiki, trim($zwrot). "\n", FILE_APPEND);
  9. ?>

comments powered by Disqus