On Fri, 3 May 2002, Mantas Kriauciunas wrote: > I have code like this(code starts at 100 line and has lots of > outputs): > Header("Location: menu?pg=news"); <<---- wrong > i have problem with Header, how should i change it? any suggestions? > is there any other function to redirect? or should i make some > fucntion my self..or what shoud i do ? > thanks
Two options: 1) Read about output buffering in the manual. 2) Fix your code so it does its checking before outputting anything. miguel -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php