Jump to content

BMag

New Members
  • Posts

    2
  • Joined

  • Last visited

BMag's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey digibucc, Thanks very much for the reply. The database has been created and it's already populated with sample data. Yes, I have and html form. The process.php is what I was looking after, but unfortunately, like I said, my coding skills are non-existent. I thought I may be able to find someone willing to walk me through. Guess, I'm gonna have to head back to the freelancer forum. Thanks again,
  2. Hi everyone, I've got a simple mySQL database with 5 fields: id int(10) ip_address varchar(100) name varchar(100) email varchar(100) password varchar(100) and have created a php form, consisting of only two fields: <form id="form1" name="form1" method="post" action=""> <label for="email">email</label> <input type="text" name="email" id="email" /> <label for="password">password</label> <input type="text" name="password" id="password" /> <input type="submit" name="submit" id="submit" value="Submit" /> </form> I need for my users to enter their 'email' and 'password' and upon successful authentication, update their 'ip_address' field via $_SERVER['REMOTE_ADDR']. My php codings skills are nonexistent and as much I've Google'd tutorials on how to achieve this, I'm afraid I'll leave my system open to slq injections or something. Also, shall I include a separate connection php file for database connection or can I just include the connection settings on the form? Any help will be gratefully appreciated, Cheers,
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.