Re: Help Please

From: Date: Mon, 29 Jul 2002 20:28:37 +0000
Subject: Re: Help Please
Groups: php.general 
Request: Send a blank email to php-general+get-110244@lists.php.net to get a copy of this message
Copy and paste the code (minus and indisclosurables) and we can take a look at it :o) Martin Clifford Homepage: http://www.completesource.net Developer's Forums: http://www.completesource.net/forums/ >>> Varsha Agarwal <agarwal_varsha@yahoo.com> 07/29/02 04:27PM >>> Hi, I did not find any print or echo stetement in the sample example before hearder or setcookie function. Is there any way to find out what really is causing error or trace the program. Actually i am very new to this cookies and all stuff. Is there any way of tracing the program? I am using it on red hat 7.3. --- Dennis Moore <dmoore@ravens-nest.com> wrote: > you cannot print or echo anything back to the > browser before running the > header() function... > > > > > ----- Original Message ----- > From: "Varsha Agarwal" <agarwal_varsha@yahoo.com> > To: <php-general@lists.php.net> > Sent: Monday, July 29, 2002 4:00 PM > Subject: [PHP] Help Please > > > > Hi, > > I am trying to run a sample program. It connects > to a > > postgres database verifies user name and password > and > > if correct, displays the login screen. > > But in that program wherever there there are > > setcookies() or header() functions, I get > following > > error > > > > Warning: Cannot add header information - headers > > already sent by (output started at > > var/www/html/processing.php:5) in > > /var/www/html/common.php on line 63 > > > > I checked the settings of my browser, it can > accept > > all cookies. > > Someone help please!!! > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: > http://www.php.net/unsub.php > > > __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#110244) next »