This is very bizarre. Could someone else have a look at this? Maybe you
can see something I'm overlooking. Go here:
http://www.newsletters.forbes.com/en...n/deliver.php4
U: bugtest P: test
Enter 1 for "How many files in this delivery?" and select a file to
upload, in one of the listed formats. Scroll down and click "Test Email".
You should get
Cannot modify header information - headers already sent in
/usr/home/enpusr/enews/auth.php3 on line 49
Cannot modify header information - headers already sent by (output
started at /usr/home/enpusr/enews/auth.php3:49) in
/usr/www/users/enpusr/enews/admin/deliverx.php4 on line 83
There are a number of very weird things about this. First, auth.php3 is
used by every single page in the application, but only has a problem with
this one. Second, the second message is saying output started in
auth.php3 on line 49, but that's a header() call:
header("Set-Cookie: pk=$NewKey; path=/; domain=.$AuthDomain");
The third and most bizarre thing is if you omit the file count, this is
an application error, and deliverx.php4 processes it just fine -- it
makes it through auth.php3 and everything else.
And even more bizarre than that is the fact that this code has been
working fine for a long time, and I haven't changed anything.
Don't let the .php3 extension fool you, it's all PHP4; I just haven't
gotten around to changing some of the file extensions.
Any ideas?
--
Alan Little
Phorm PHP Form Processor
http://www.phorm.com/