Hi,
$folder = $_SERVER['REMOTE_USER'];
header("Location: ../download/$folder/");
1. Ein Location-Header erfordert die Angabe eines vollstaendigen URL, also aendere das bitte.
Warning: Cannot modify header information - headers already sent
Line 13 ist die header-Zeile des obigen Scripts.
Wo liegt mein Fehler?
Darin, dass du dich offenbar kein bisschen informiert hast - so gut wie ueberall, wo du dich zu dieser Meldung informieren wuerdest, und auch im PHP-Manual bzgl. der Funktion header, findest du die deutliche Aussage, dass vor dem Aufruf header noch keinerlei Ausgaben an den Client erfolgt sein duerfen.
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“