Reply to Re: $HTTP_REFERER crashes my system like clockwork

Your name:

Reply:


Posted by walterbyrd on 12/17/41 11:53

Benjamin Esham wrote:

> Make sure that nothing
> generates any output (remember, error messages count as output). Hopefully
> the error rests with something in there.

First, thank you again for all of your help.

I am very sure nothing is being output before, or after the <?php . .
?>. I am using 100% English, no right to left languages. The very first
and last lines of this file are below:

<?php
#if either form field is empty return to the log-in page
.. . . .
?>

Here is the section that is giving me all the trouble, complete with
error checking echo statements:

{
echo("1" . "\n\n");
setcookie("admin", $username, time()+18000);
echo("2" . "\n\n");
header("Location: table_list1.php");
echo("3" . "\n\n");
exit;
}

Here is the complete output:

1
Warning: Cannot modify header information - headers already sent by
(output started at C:\xampp\htdocs\WMS\authenticate.php:22) in
C:\xampp\htdocs\WMS\authenticate.php on line 23
2
Warning: Cannot modify header information - headers already sent by
(output started at C:\xampp\htdocs\WMS\authenticate.php:22) in
C:\xampp\htdocs\WMS\authenticate.php on line 25
3


> Benjamin D. Esham
> bdesham@gmail.com | AIM: bdesham128 | Jabber: same as e-mail
> "Men never do evil so completely and cheerfully as when they
> do it from religious conviction." - Blaise Pascal

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация