Michal Seč <michal.sec@iol.cz>:
> To vim taky.
> Jenze pak nevim proc mi funguje tohle:
>
> <?
> echo "nejaky text";
> Header("Location: index.php");
> ?>
A kde ti to tak funguje? Prave jsem to vyzkousel. Zcela logicky jsem
dostal tohle:
nejaky text
Warning: Cannot modify header information - headers already sent by
(output started at d:\www\test.php:2) in d:\www\test.php on line 3
Mam u sebe PHP Version 4.3.2 bezici na apache @ win32
BTW pokud se nepletu, tak syntaxe 'Header("Location: index.php")' je
spatne. Podle specifikace http protokolu musi hlavicka location obsahovat
absolutni cestu (http://server.tld/index.php), nikoli relativni.
-pp21-
This archive was generated by hypermail 2.1.3 : 13. 10. 2003, 16:55 CEST