Your application will be a single index.php file with some elements in HTML, some elements in PHP, and some elements in JavaScript - all working in the same file. Make sure to save your screen shots JPG or PNG files and keep them less than 1MB. You must include the URL bar in all of your screen shots and the software must be running in your PHP server (i.e. file:// urls will not be accepted)
print hash('sha256', 'Charles Severance');
DOCUMENT_ROOT: c:\xampp\htdocs DOCUMENT_ROOT: /Applications/MAMP/htdocsYou can check the DOCUMENT_ROOT value for your server by scrolling down in your PHPInfo output. You may have changed a setting in your PHP server to move the DOCUMENT_ROOT and that is OK as well.
Just make sure all the files are in a folder somewhere within DOCUMENT_ROOT and that all your testing uses localhost URLs like:
http://localhost:8888/wa4e/rrc/index.phpIf you turn in screen shots with file:// in the URL you will get zero points for the assignment.
You can explore a sample solution for this problem at
http://www.wa4e.com/solutions/rrc/
There are several sources of information so you can do the assignment:
For this assignment you will hand in:
Please review carefully. The actual points are less important and useful comments about what might be wrong and need fixing. You cannot re-submit your assignment unless the instructor allows you to resubmit.
The total number of points for this assignment is 10. You will get up to 5 points from your instructor. You will get up to 3 points from your peers. You will get 1 for each peer assignment you assess. You need to grade a minimum of 2 peer assignments. You can grade up to 5 peer assignments if you like.
This section is entirely optional and is here in case you want to explore a bit more deeply and test your code skillz.
Here is a possible improvement:
<?php $name = 'Charles Severance'; ?>Then use that variable everywhere else in the file.
Provided by:
www.wa4e.com