You could just redo your scripts to not spit out any text until you issue the header("Location: URL") command. One questions why a script would spit out text if it will be redirecting the user to another page...
-Dash A chubby man with a white beard and a red suit will approach you soon. Avoid him. He's a Commie. On Mon, 23 Dec 2002 [EMAIL PROTECTED] wrote: > Hey there, > > I posted a message a day ago about possible redirect functions. Now i was > told to check out the header functions. > The problem is still the same (just need to explain better): > i cannot use header because the headers are already sent. i want to use it > as a part of a logon script which, if user is present, will redirect the user > to another php page. > i also want the user info, coming straight out of the db, to be carried > along. > > i can see that my way of wanting to do that is not working with php so well. > so if u have another idea please let me know. > > In Asp.Net, the server.transfer() method is independent from the headers > sent and can used any time. i suppose there is no real equivalent in php? > > thanks > God bless ya > > Thomas > > -- > +++ GMX - Mail, Messaging & more http://www.gmx.net +++ > NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen! > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php