Re: [PHP] Login page error

2007-06-12 Thread Richard Lynch
On Mon, June 11, 2007 9:28 pm, Humani Power wrote: > Hi! Im trying to make a login page. I have searched for examples that > makes > me check the user name with a database, and the one that suits better > is > this code. > // Perhaps you have a BLANK LINE right here? // Even a BLANK LINE counts a

Re: [PHP] Login page error

2007-06-11 Thread Janet Valade
The error comes from having output before the session_start(). This means that anything before the space. Janet Humani Power wrote: Hi! Im trying to make a login page. I have searched for examples that makes me check the user name with a database, and the one that suits better is this code.

Re: [PHP] Login page error

2007-06-11 Thread Robert Cummings
On Mon, 2007-06-11 at 21:28 -0500, Humani Power wrote: > > [-- SNIIP --] > > I have searched for possible answers, and all I have found is that I > should not send any output before the session_start(); But in this > code the session_start(); output is before anything else. > can yo

Re: [PHP] Login page

2004-05-07 Thread Erik Gjertsen
Thanks it help Erik Gjertsena "Petr U." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 6 May 2004 03:42:48 -0700 > "Erik Gjertsen" <[EMAIL PROTECTED]> wrote: > > > I have made a login page but I got an error on line 1. > > Where did you defined $dbc? Nowhere. > From "mys

Re: [PHP] Login page

2004-05-06 Thread Curt Zirzow
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]): > [snip] > # login.php?? > [/snip] > > > If that is in fact line 1 then the # sign is the problem. Use either // > or /* */ style comments. btw, # is a valid comment. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP G

Re: [PHP] Login page

2004-05-06 Thread Petr U.
On Thu, 6 May 2004 03:42:48 -0700 "Erik Gjertsen" <[EMAIL PROTECTED]> wrote: > I have made a login page but I got an error on line 1. Where did you defined $dbc? Nowhere. >From "mysql_select_db($database_innlogging, $innlogging);" I guessing, that you shuld use: global $innlogging; ...

RE: [PHP] Login page

2004-05-06 Thread Jay Blanchard
[snip] # login.php?? [/snip] If that is in fact line 1 then the # sign is the problem. Use either // or /* */ style comments. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Login page

2004-05-06 Thread Angelo Zanetti
# login.php?? -Original Message- From: Erik Gjertsen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 12:43 PM To: [EMAIL PROTECTED] Subject: [PHP] Login page I have made a login page but I got an error on line 1. Can some one please help me to solve the problem http://www.

RE: [PHP] Login page

2004-05-06 Thread Jay Blanchard
[snip] I have made a login page but I got an error on line 1. [/snip] What is line 1? and what error do you get? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php