[PHP-WIN] Authentication

2002-04-23 Thread Nik Alleyne
Hi All, Can anyone tell me how to ensure that all my pages are secure. I know in asp i could have used session("authenticated"). What I wish to do is to ensure when the user views a secure page that he/she has been logged in before. IF they have now, i wish to redirect them to the login.php than

[PHP-WIN] username and password validation!

2002-04-22 Thread Nik Alleyne
Hi there everyone, my problem should b simple. Problem: I am trying to validate a username and password though HTML forms. The thing is when i encrypt the password using mysql password encryption function 'PASSWORD()' and try to validate the password I am getting the error message that I've s

[PHP-WIN] Another Question!

2002-04-11 Thread Nik Alleyne
I'm now trying to insert data into the database, but i seem to have a problem with my If ( $submit == "Sign!" ) { echo "Whatever"; } this is being done in a page called createentry.php which checks the submit button on a page called index.html once i place this statement in here the if

Re: [PHP-WIN] Another Newbie Question

2002-04-11 Thread Nik Alleyne
I would recommend replacing > 'nik' with 'localhost'. I am thinking that your mysql_connect() should be > as follows: > > mysql_connect('localhost', 'nik', ''); > //connect to localhost as the user, nik, with no password > > >

[PHP-WIN] Newbie to php

2002-04-10 Thread Nik Alleyne
Good evening everyone, I am new (very new) to php. I was doing some research on the net and learn of this packaged and after reading just a couple of pages, i figure i should learn this instead of ASP. It looks so easy. Anyhow here is my problem. I am trying to connect to the database (MySQL) how

[PHP-WIN] Another Newbie Question

2002-04-10 Thread Nik Alleyne
Good evening everyone, I am new (very new) to php. I was doing some research on the net and learn of this packaged and after reading just a couple of pages, i figure i should learn this instead of ASP. It looks so easy. Anyhow here is my problem. I am trying to connect to the database (MySQL) how