$ip = $_SERVER['REMOTE_ADDR']; $dane = $ip."\n"; $file = "inc/glosy.txt"; $info="Twój głos został dodany!"; } else { $info="Głosowałeś niedawno!"; }
dzięki z góry!
$ip = $_SERVER['REMOTE_ADDR']; $dane = $ip."\n"; $file = "inc/glosy.txt"; $info="Twój głos został dodany!"; } else { $info="Głosowałeś niedawno!"; }
$ip = $_SERVER['REMOTE_ADDR']; $dane = $ip."\n"; $file = "inc/glosy.txt"; $current .= $ip."\n"; file_put_contents($file, $current); $info="Twój głos został dodany!"; } else { $info="Głosowałeś niedawno!"; }