Kapalı

Login to PHP with link to MySql

Project CS-A

The following functionality and php code neds to be finished, debugged and demonstrated

1. On a web page there will be link "demo" which opens a login window (I provide design/layout of the login window in html)

2. Submit of the login window activates and passes the userid and password fields to the execution of a [url removed, login to view] code in an app server. The functionality of the php code is provided below.

3. The php code checks the entry of userid and password fields against a mysql database and displays results of verification in the login window.

4. You must have access to a mysql database to debug the php code. The fields of demo db are also provided below.

5. You must be able to demonstrate the complete functionality of the project, before I accept the finished code.

//======login_verify.php==========

//

<?php

$userid = $HTTP_GET_VARS ["userid"]; // get caller id

$timestamp = $[url removed, login to view]; // get time stamp

$password = $HTTP_GET_VARS ["password"]; // get password

//

// query record from database demo

//

$db = mysql_connect("local host","userid", "password");

mysql_select_db("demo", $db);

$query = "SELECT * FROM demo WHERE userid=$userid OR pcallerid=$userid OR scallerid=$userid";

$result = mysql_query($query,$db);

//

// verify userid = userid or pcallerid or scallerid

//

//

// verify password

//

// verify time

<elseif cond=" '$timestamp - 60 seconds'

//

//

//

<?php

//

//------Demo db fields are: --------

//

sequence (int 4)

pcallerid (char 10), primary

scallerid (char 10)

userid (char 6)

pin char(4)

date (date)

password (char 6)

rpk (char 4)

timestamp (time)

Beceriler: Link Oluşturma, PHP, XML

Daha fazlasını görün: submit prototype, prototype web page design, prototype date, php verify, php id, php demo code, php * *, * * php, * php, login to, login php code with mysql, link no html 5, link html 5, int i, html 5 link, design web page login, design login web html page, access to php mysql, 13524, php &&, id verification, && php, get php, timestamp, time stamp

İşveren Hakkında:
( 0 değerlendirme ) Los Angeles, United States

Proje NO: #7801

4 freelancer bu iş için ortalamada 80$ teklif veriyor

CruzDelSur

Hi, i can get it working, but in fact i would recomend use others ways to login becouse the code provided by you is insecure. I have made a lot of logins. Pleas, contact me if you want to see them running in my server. Daha fazlası

in 2 gün içinde30$ USD
(27 Değerlendirme)
5.6
tiamak

hehe this code you provided allows for sql injection attack :)

in 2 gün içinde90$ USD
(4 Değerlendirme)
3.6
zeeshansyed

PM for further discussion please. Z

in 2 gün içinde100$ USD
(0 Değerlendirme)
0.0
aquasofts

Dear Sir/Madam, We are happy to serve you our extraodinary work. We are in the IT Market for the past 4 years and done numerous successful projects. We assure you that we do the work to satisfy you to the best. So Daha fazlası

in 6 gün içinde100$ USD
(0 Değerlendirme)
0.0