RE: [PHP-DB] header function

2002-07-16 Thread Gary . Every

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
mailto:[EMAIL PROTECTED]
http://accessingram.com


-Original Message-
From: Mohammad Forouhar-Fard [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 15, 2002 4:51 PM
To: 'Steve Cayford'
Cc: [EMAIL PROTECTED]
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
UPDATE$cfgTbl[accounts]:br.mysql_error());
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
Cc: [EMAIL PROTECTED]
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.

-steve

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
started
 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 (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] header function

2002-07-15 Thread Mohammad Forouhar-Fard


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 auf OK. But if I try to run at home I have even the same error 
Cannot add header information - headers already sent by (output started
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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] header function

2002-07-15 Thread Steve Cayford

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.

-steve

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 auf OK. But if I try to run at home I have even the same error
 Cannot add header information - headers already sent by (output started
 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 (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




AW: [PHP-DB] header function

2002-07-15 Thread Mohammad Forouhar-Fard

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
UPDATE$cfgTbl[accounts]:br.mysql_error());
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
Cc: [EMAIL PROTECTED]
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.

-steve

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
started
 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 (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php