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 as

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 you give

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 ? would be output. Even a single empty 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

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

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 General

[PHP] Login page

2004-05-06 Thread Erik Gjertsen
I have made a login page but I got an error on line 1. Can some one please help me to solve the problem !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head titleLoggInn/title meta

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

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 !DOCTYPE

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 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] PHP Login Page Issues

2004-02-18 Thread Pushpinder Singh
Hello again, I was wondering if anyone had a chance to take a quick peek at this code. Thanks again guys ! -Pushpinder On Tuesday, February 17, 2004, at 10:49 AM, Pushpinder Singh wrote: Hello Everyone, I am making use of the following login module. However, it tells the user to login at

RE: [PHP] PHP Login Page Issues

2004-02-18 Thread Chris W. Parker
Pushpinder Singh mailto:[EMAIL PROTECTED] on Wednesday, February 18, 2004 7:46 AM said: I was wondering if anyone had a chance to take a quick peek at this code. Thanks again guys ! yes. but it's hard to read, so i just skipped it considering i haven't had a lot of time to spend in the

[PHP] PHP Login Page Issues

2004-02-17 Thread Pushpinder Singh
Hello Everyone, I am making use of the following login module. However, it tells the user to login at least twice even if the username and password are correct. The data flow model is explained below : The first 'correct' attempt will result in the user being redirected to the logged_in.php