<form action="krajobrazy.php" method="POST"> <font color="white">ip1:</font> <input type="text" value="Login" name="login" id="login23" ><br><br> <font color="white">ip2:</font> <input type="password" value="Haslo" name="haslo" id="haslo23" ><br><br> <input type="submit" value="Zaloguj" name="submitted" ><br> </form> </center> </body></html> <?php foreach($_POST as $variable => $value) { } exit; ?>
Chcę zrobić żeby po wypełnieniu formularza autoamtycznie przkierowywało np. na stronę google.pl
Próbowałem z funkcją header i wgl. ale nie wychodzi mi czy mogłby ktoś wstawić gotowy kod?