Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
On 19 May 2011 16:05, Nazish wrote: > Thanks for all your suggestions such as removing whitespace before the tag and commenting issues. I made those changes. > > I didn't realize that connecting to the MySQL database involved sending a > header: eg. mysql_connect($host, $user, $mysql_pass); > > D

Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
On 19 May 2011 16:05, Nazish wrote: > I didn't realize that connecting to the MySQL database involved sending a > header: eg. mysql_connect($host, $user, $mysql_pass); > It doesn't. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/i

RE: [PHP] Warning: session_start()

2011-05-19 Thread Ford, Mike
> -Original Message- > From: Pete Ford [mailto:p...@justcroft.com] > Sent: 19 May 2011 11:36 > To: php-general@lists.php.net > Subject: Re: [PHP] Warning: session_start() > > >> On 18 May 2011 19:15, Nazish wrote: > > > >>> Hi everyone, >

Re: [PHP] Warning: session_start()

2011-05-19 Thread Pete Ford
On 19/05/11 10:37, Tim Streater wrote: On 19 May 2011 at 10:20, Richard Quadling wrote: On 18 May 2011 19:15, Nazish wrote: Hi everyone, code, code, code. ?> The session cookie must be sent prior to any output. Including, but not limited to, comments, whitespace, HTML code, etc.

Re: Re: [PHP] Warning: session_start()

2011-05-19 Thread Tim Streater
On 19 May 2011 at 10:20, Richard Quadling wrote: > On 18 May 2011 19:15, Nazish wrote: >> Hi everyone, >> >            WHEN USER CLICKS 'ENTER' TO LOGIN >> >> > ?> > > The session cookie must be sent prior to any output. Including, but > not limited to, comments, whitespace, HTML code, etc.

Re: [PHP] Warning: session_start()

2011-05-19 Thread Richard Quadling
On 18 May 2011 19:15, Nazish wrote: > Hi everyone, > > I recently uploaded my website files to a server. When I tried to log into > my website, I received these error messages: > > *Warning*: session_start() > [function.session-start]: > Cannot se

Re: [PHP] Warning: session_start()

2011-05-18 Thread Andre Polykanine
Hello Nazish, Try to delete your HTML comments before the http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion Original message From: Nazish To: php-general@lists.php.net Date created: , 9:15:37 P

Re: [PHP] Warning: session_start()

2011-05-18 Thread Stuart Dallas
On Wed, May 18, 2011 at 7:15 PM, Nazish wrote: > Hi everyone, > > I recently uploaded my website files to a server. When I tried to log into > my website, I received these error messages: > > *Warning*: session_start() > [function.session-start