Hi,
Aber woran lieegt das? was mache ich falsch?? Ich habe doch header("Location: ..."); richtig angegeben oder?
Du überschreibst den HTTP-Status an keiner Stelle.
Das macht PHP normalerweise automatisch.PHP kann nicht von alleine entscheiden, ob es sich um eine temporäre (302, 307) oder permanente (301) Umleitung geht.
Wenn du nichts anderes angibst, dann macht PHP automatisch einen 302 draus.
http://www.php.net/manual/en/function.header.php:
The second special case is the "Location:" header. Not only does it send this header back to the browser, but it also returns a REDIRECT (302) status code to the browser unless some 3xx status code has already been set.
MfG ChrisB
--
Light travels faster than sound - that's why most people appear bright until you hear them speak.
Light travels faster than sound - that's why most people appear bright until you hear them speak.