Reply to Re: Cannot send session cookie - headers already sent by

Your name:

Reply:


Posted by bashar on 07/13/07 09:36

On Jul 13, 11:34 am, Captain Paralytic <paul_laut...@yahoo.com> wrote:
> On 13 Jul, 09:25, bashar <bashar.abdul...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I keep getting this error: Warning: session_start() [function.session-
> > start]: Cannot send session cookie - headers already sent by (output
> > started at c:\wamp\www\testlogin.php:1) in c:\wamp\www\testlogin.php
> > on line 2
>
> > All people are referring to extra line at the end and related issues,
> > but it doesn't seem to be my problem:
>
> > Here is the code:
> > ====================
> > <?php
> > session_start();?>
> > <html>
> > <head>
> > <title>Q8Ba7th Admin Login</title>
> > </head>
>
> > <body>
> > <form method="post" action="loginAuth.php">
> > Username: <input type="text" name="user"/><br/>
> > Password: <input type="password" name="pass"/><br/>
> > <input type="submit" value="Submit"/>
> > </form>
> > </body>
> > </html>
> > ====================================
>
> > Any help is very much appreciated.
>
> Are you sure that the <?php is the very first thing in the file?

Yep... sure :(

[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

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