|
Posted by Martin Mandl - m2m tech support on 02/07/07 17:23
On Feb 7, 5:35 pm, "php newbie" <arpit...@gmail.com> wrote:
> Hello Erwin, I did not understand your response. Its the same php
> page, why is it showing the warning on one server and not on another
> and why is the same page working on my local machine and not working
> when I upload it to the server.
> I would really appreciate your help, I am a newbie to php and not
> aware of any configuration settings that I might need to change.
> Thanks
Redirecting with the header functions works only if no output has been
produced before this command. If you are using the same files on both
servers it could be that the settings of those servers are different.
E.g. If your first server is configured to show no warnings (e.g. when
a variable is used without being defined before) and the second server
is configured to show those warnings, it will work on the first server
but will not on the second.
In this case a workaround would be to use the same configurations, or
to clear up your code in order to produce no warnings.
Good luck
Martin
------------------------------------------------
online accounting on bash bases
Online Einnahmen-Ausgaben-Rechnung
http://www.ea-geier.at
------------------------------------------------
m2m server software gmbh
http://www.m2m.at
Navigation:
[Reply to this message]
|