View Full Version : Login and password script`

06-09-2006, 09:52 AM
I have a form where people sign up then I put there info into my login and password script. Is there a way that as soon as they sign up, there info is in the password script?

If anyone could help me in any form or way, that would be great.


06-09-2006, 11:44 AM
Your request isn't very clear. I assume you're talking about a login page with user name and password and posting to the form information to a second page with a script to verify the data. If so, you can use {$_POST['user_name']} and {$_POST['password']} directly in your script.

But I've been told by someone who knows better than me that you should sanitise (strip slashes) from the data first, which means extra lines of code.

06-10-2006, 01:46 AM
Thanks, but i have no idea what you just said.
Please put it in easier terms. I'm a newcomer to html, php, and css.

06-10-2006, 03:20 AM
Clarify what you are wanting. You aren't too clear on your request.

06-10-2006, 05:15 AM
I wan't it to put the users info(name&password) right into the password script when they sign up, so i don't have to do it manually.

06-10-2006, 05:26 AM
You're still not being clear. What script? What is the process your users go through?

We're noobies as far as your script goes. We know nothing. You'll need to give us as much detail in your description as you'd expect in an answer.

06-10-2006, 01:07 PM
Post your registration script & your separate login script for us. Then we can help you. Secondly...do you make your users verify their e-mail address when they register before their account is activated?

06-10-2006, 02:02 PM
Ok so i offen post this script to people but its attached again... i think its what your discribing...

Its basicly just a login script i made when i was starting out php & SQL... its an automatic login system with 3 user levels.

Edit cons.php (set database, username and password (first 4 -5 lines on the page) then dont worry about the rest)... open MySQL Tables.txt, run the queries in your database manager (probably phpMyAdmin or something) then just run the script...

Its very easy to edit, basic standard HTML with minimal lines of code involved.

06-12-2006, 02:04 AM
You guys need to work with me here. I have no idea how to use PHP.

06-12-2006, 02:10 AM
Define: "Password Script."