![]() |
Registration & Login Script
Hello fellow PHP coders,
I've started working on a hobby i've wanted to do for ages, however, I've come across a problem, I know basic level of php, I'm just wondering if someone would be kind enough to point me in the way, and/or giveme a hand in the hobby i'm doing. www.Image-Storage.co.uk/register.php www.Image-Storage.co.uk/login.php What i'm after is a registration script + login script based off my forms i've created, I know HTML, CSS and some JavaScript, only problem is my PHP knowledge. (as seen by links given) Thanks for reading, If you wish to know what my level of php is you can see my attempt of it xD lol http://www.image-storage.co.uk/Bryan...registerck.txt Thanks again. Shaun |
You have some SQL Injection vulnerabilities in that code.
add_slashes() is not a sufficient form of sanitisation. -- You should be using mysql_real_escape_string() for your user input (any $_GET/$_REQUEST/$_POST/$_COOKIE etc) variables. |
I think you can easily read this tutorial and get the knowledge for making your script work: Combined Minds > Tutorials > Creating a user login and registration system.
This is a basic tutorial, you might want to read one of the extra tutorials here on talkPHP how to fully prevent people from stealing sessions etc. |
Double post... Sorry!
|
Thanks for your time and effort in your posts, I'll look at those tutorials.
Thanks again ^^ Shaun |
| All times are GMT. The time now is 01:59 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0