אשכול: בעיית redirect
View Single Post
ישן 01-11-05, 18:03   # 1
A.M.F
חבר וותיק
 
מיני פרופיל
תאריך הצטרפות: Oct 2005
גיל: 34
הודעות: 1,154

A.M.F לא מחובר  

בעיית redirect

יש לי את הקוד הבא-
PHP קוד:
        if ($thePage['location'] != null && $thePage['location'] != "") {
            
header("Location: ".$thePage['location']."");
        } 
שאומר שאם יש ערך כלשהו בשדה לוקיישן אז זה אמור להפנות אותי לעמוד אחר.

וכשאני נכנס לדף זה מציג לי את השגיאה הבאה-
PHP קוד:
WarningCannot modify header information headers already sent by (output started at c:wampwwwmy documentsfleishercpincludestemplate.php:102in c:wampwwwmy documentsfleishercpincludestemplate.php on line 32 
  Reply With Quote