![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 75 Pomógł: 8 Dołączył: 9.08.2008 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Mam problem z przekierowanie header. Nie wiem dlaczego, ale po prostu mi nie działa. Wpisuje w odpowiednie miejsce w skrypcie :
Kod header('Refresh: 5; url=index.php'); Czy zna ktoś przyczynę? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 890 Pomógł: 339 Dołączył: 14.12.2006 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
@dr_bonzo,
mylisz się. Za pomocą header() możesz wysłać prawie wszystko to, co jest w sekcji <head> strony. http://forum.php.pl/index.php?showtopic=51423 http://www.desilva.biz/php/phprefresh.html Cytat I found the following code to help me refresh a page or really redirecting to a page after a certain number of secionds. (I'm using php 5.x) na http://pl2.php.net/header<?php print(" <p align=\"center\"> User Not Found</p><br><br>"); // err msg header('Refresh: 3; url=index.html'); // waits 3 seconds & sends to homepage ?> itd (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) Ten post edytował sowiq 24.09.2008, 19:04:05 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 16:52 |