Homework 7. Create example and explain the purpose of.
4 Pages836 Words483 Views
Added on 2019-09-16
Homework 7Create example and explain the purpose of each superglobal, your explanation should be shown in code comments. You need to create a website on the AFS to show what you did and push it to GitHub.http://php.net/manual/en/language.variables.superglobals.phpHomework 8Read about reflection and object functions and pick 5 functions that demonstrate object functions and retype the tutorial about reflection. You need to create a website on the AFS to show what you did and push it to GitHub. Remember that you should submit links on the Moodle.https://code.tutsplus.com/tutorials/reflection-in-php--net-31408http://php.net/manual/en/book.reflection.phphttp://php.net/manual/en/language.oop5.phpNote:read this article about pass by value and reference and provide an example in your code:http://www.adp-gmbh.ch/php/pass_by_reference.htmlandhttp://www.elated.com/articles/php-references/Homework 9Create a class to write a csv file class that handles exception for file not found error and unable to write file error.https://www.tutorialspoint.com/php/php_error_handling.htmhttps://www.sitepoint.com/error-handling-in-php/http://php.net/manual/en/language.exceptions.phpThis will help with file operations:http://php.net/manual/en/ref.filesystem.phpYou need to create a website on the AFS to show what you did and push it to GitHub
Homework 10Read this tutorial and develop a class to sanitize your form input and a class to validate form input that contains at least one method for validating an email address.https://code.tutsplus.com/tutorials/sanitize-and-validate-data-with-php-filters--net-2595Read this and the comment is really the article that is important that explains a validation class:http://codereview.stackexchange.com/questions/18814/php-validation-classSubmit a link to your github repository and a link to the working code on AFS.Homework 11Please complete this tutorial by making a form and PHP program that can save files to an upload directory on AFS:https://www.sitepoint.com/file-uploads-with-php/You need to set the permissions on AFS to allow file saving.https://web.njit.edu/info/afs.perms.htmlSubmit a link to your github repository and a link to the working code on AFS.Homework 12Please read this tutorial and practice making get and post curl requests.http://hayageek.com/php-curl-post-get/Read this article:http://thisinterestsme.com/php-error-handling-curl/To complete this assignment, you need to create a class that can make get and post requests using curl, which also includes error handling.Submit a link to your github repository and a link to the working code on AFS.Homework 13
Found this document preview useful?
Fuel Management Software Solution for an Irish Airlinelg...
Error Checking And Handlinglg...
Basic Graph Data Structure Assignmentlg...
Assignment on Pythonlg...
Simulation Programs for Bridge Processing and Routinglg...