Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [PHP] Przekierowanie
muumiin
post 4.11.2014, 11:59:56
Post #1





Grupa: Zarejestrowani
Postów: 105
Pomógł: 0
Dołączył: 17.09.2014
Skąd: Kraków

Ostrzeżenie: (0%)
-----



jak przekierować na stronę po spełnieniu warunku?

Ten post edytował muumiin 4.11.2014, 12:09:36
Go to the top of the page
+Quote Post
viking
post 4.11.2014, 12:05:41
Post #2





Grupa: Zarejestrowani
Postów: 6 378
Pomógł: 1116
Dołączył: 30.08.2006

Ostrzeżenie: (0%)
-----


http://pl1.php.net/manual/en/function.header.php


--------------------
Go to the top of the page
+Quote Post
fudin
post 4.11.2014, 12:06:07
Post #3





Grupa: Zarejestrowani
Postów: 3
Pomógł: 1
Dołączył: 4.11.2014

Ostrzeżenie: (0%)
-----


  1. if( warunek ) {
  2. exit(header('Location: adres'));
  3. }


http://php.net/manual/en/function.header.php
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 18.07.2025 - 04:18