Authenticate the name and password, PHP Web Programming

Assignment Help:

Keep a list of allowed reporters and their passwords in a database table Authentication.  Define and populate the table beforehand manually using the phpMyAdmin interface to MySQL (or a command line interface if you like.) You can assume the reporter name is to be the primary key for the table.  The authentication information should have nothing to do with your UCID or MySQL passwords and name.  The table looks as follows with the appropriate data types for the columns.  The contents are NOT encrypted.

Authentication (for incident reports)

reporter_name

reporter_password

joe456

zebra

james777

checker

The PHP script should test the reporter name and password submitted from the form using a simple PHP or-die construction that queries the database for a matching reporter and password.  An SQL select command can be used but the returned data should not be accessed.  Just look up in the IT202 manual or on the online PHP manual how to tell if a select returned any rows.  If the select is defined appropriately, that will tell you if the reporter name and password were valid.   The password should not be encrypted by the browser, the script or in the database.

Caveat:

PHP:    When testing strings for equality in PHP, do not use = where you should use == (a pair of equal signs).  The PHP symbol = is for assignment statements; it is not used to compare strings; use the == equality operator for string comparison.

SQL:   When testing strings for equality in SQL, use = symbol, not the == used in PHP


Related Discussions:- Authenticate the name and password

We want help in wordpress plugin development, We want help in WordPress Plu...

We want help in WordPress Plugin Development - Route Delivery Schedule We want a plugin that has the ability to display Delivery Schedules based on a location filter in a calend

Open system interconnection, An open system is a model which allows any two...

An open system is a model which allows any two distinct systems to communicate regardless of their underlying architecture. The reason of the OSI model is to open communication amo

Website programming for a previously designed website, Website programming ...

Website programming for a previously designed website This website is for a clothing and textiles design brand. Job Description - We're looking for a Web Developer. a) The

Need help in magento developer for customization and updates, Need help in ...

Need help in Magento developer for customization and updates Our website is built on Community Edition plus uMarketplace (add-on) We will put you in touch with uMarketplace'

I am in search of wufoo api expert, I am in search of Wufoo API Expert I...

I am in search of Wufoo API Expert I am seeking someone who is skilled with Wufoo's form API. The task needs submitting wufoo form xml to another site. Please offer relevant exp

Need help in data migration from pdg cart to magento, Data migration from P...

Data migration from PDG cart to Magento Job Description- I am seeking a Web Developer to migrate PDG shopping cart to Magento Your qualifications- a) Previous experienc

Omputer Incident Response System_Programming on WAMP platfor, need help wit...

need help with initial programming of the system as displayed in the attachment..its about simple incident response system that , as per my idea, shall be universal and easily depl

Looking for a ruby on rails developer, Looking for a Ruby on Rails develope...

Looking for a Ruby on Rails developer Rails 3 also related gems Job Description- I am seeking a developer to work on fixes on an existing ROR project. Your responsibilitie

Need help in dashboard application development, Dashboard application We...

Dashboard application We're seeking to create a dashboard tracking application from various feeds job requires bit of research as well as knowledge of API's plus of course super

Php developer needed for google rank checker, PHP Developer Needed for Goog...

PHP Developer Needed for Google Rank Checker and Customer Portal Hired preceding developers and they did terrible work, We worked an great amount of hours and the money was wast

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd