You'll have to get rid of ALL html, including the <BR> in your code below.

Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
"Pay It Forward"

-----Original Message-----
From: Mohammad Forouhar-Fard [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:51 PM
To: 'Steve Cayford'
Subject: AW: [PHP-DB] header function

Nothing it is only header function.
No I don't have anything outside.
In this case  I am connected to the DB.

if($v_action =="delete"){
$DBquery($cfgDB[data],"UPDATE $cfgTbl[accounts] SET acc_service='' WHERE
acc_id='$v_id'") or die("cannot
header("Location: list.php?message='T'");

-----Ursprüngliche Nachricht-----
Von: Steve Cayford [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 15. Juli 2002 23:18
An: Mohammad Forouhar-Fard
Betreff: Re: [PHP-DB] header function

What's on line 3 of Auth_user.php ?

If you have anything outside of the <?php ... ?> tags it will start the 
html output. Even just an empty line.


On Monday, July 15, 2002, at 04:09  PM, Mohammad Forouhar-Fard wrote:

> Hi,
> I have a problem with   function  header("Location:xy.php?var=2).
>  I have not any text (print echo or display any text) at all before I
> set a cookie
> If I try to execute this function of Apache server in my Company it is
> all OK. But if I try to run at home I have even the same error
> Cannot add header information - headers already sent by (output
> at
> C:\httpd\HTDOCS\Auth_user.php on line 3
> Can somebody help my I have at home  this configuration:
> I have Winxp  OmniHTTPd/2.09 Server.
> --
> PHP Database Mailing List (
> To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to