xander22 Posted June 17, 2016 Report Share Posted June 17, 2016 (edited) cine ma poate ajuta cu un script in php care in momentul cand cineva imi da submit la un form sa ii puna ip-u; numle la OS si Browser intr un fisiet txt Excemplu: MY ip 75.129.64.30 OS: Win8.0 Browser : Firefox 46.0 Edited June 17, 2016 by xander22 Link to comment Share on other sites More sharing options...
kznamst Posted June 17, 2016 Report Share Posted June 17, 2016 Eu te pot ajuta. Lasa-mi un PM. Link to comment Share on other sites More sharing options...
Sandu Posted June 17, 2016 Report Share Posted June 17, 2016 (edited) <?php $handle = fopen("log.md", "a"); fwrite($handle, 'REMOTE IP: ' . $_SERVER['REMOTE_ADDR'] . PHP_EOL); fwrite($handle, "\r\n"); fwrite($handle, 'Browser: ' . $_SERVER['HTTP_USER_AGENT'] . PHP_EOL); fwrite($handle, "\r\n"); fclose($handle); exit; ?> Iar unde ai formularul pui asta <form method="GET" action="log.php" id="log_form" onsubmit="return Event.__inlineSubmit(this,event)"> Edited June 17, 2016 by sandu69 Link to comment Share on other sites More sharing options...
Webz Posted June 18, 2016 Report Share Posted June 18, 2016 1 hour ago, redcoder said: Ma-ta te poate ajuta, mars la invatat nu cere mila, invata sa expui problema altfel tentativa de programator ce esti. Vorbea metin2hack Link to comment Share on other sites More sharing options...
QuoVadis Posted June 18, 2016 Report Share Posted June 18, 2016 Bre @redcoder esti intr-o stare de continua frustrare si irascibilitate (is that a word?). Take a chill pill! Spune-mi in ce zona stai si iti caut o femeie (sau baietel, #ImNotJudging ) sa te futa pana te indoaie, sa vezi ce bine te simti apoi. Gizas.. as sucomba de la atata frustrare in mine.. Link to comment Share on other sites More sharing options...