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
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.
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
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
* 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
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;
...
[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
# 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.
[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
9 matches
Mail list logo