Homework 7. Create example and explain the purpose of.

Added on - 16 Sep 2019

  • Dissertation

    type

  • 4

    pages

  • 836

    words

  • 81

    views

  • 0

    downloads

Showing pages 1 to 2 of 4 pages
Homework 7Create example and explain the purpose ofeach superglobal, your explanation should beshown in code comments. You need to create a website on the AFS to show what you didand 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 objectfunctions and retype the tutorial about reflection. You need to create a website on the AFSto show what you did and push it to GitHub. Remember that you should submit links on theMoodle.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 andunable 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 validateform 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 validationclass: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 anupload 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 postrequests 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
desklib-logo
You’re reading a preview
card-image

To View Complete Document

Become a Desklib Library Member.
Subscribe to our plans

Unlock This Document