Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Part 1:Choose one of the following topics. 1. Use examples to show how to use theprintffunction.(This topic is limited to 4 initial posts.) 2. Use examples to show how to use thedateandtimefunction...

1 answer below »
Part 1:Choose one of the following topics.

1. Use examples to show how to use theprintffunction.(This topic is limited to 4 initial posts.)

2. Use examples to show how to use thedateandtimefunction with various formats.

3. Uploading files to a web server is a common task in web development. What are the important procedures inuploading files to the server?

4. Discuss the use of text field and password field in a web form. (This topic is limited to 2 initial posts.)

5. Discuss the use of radio buttons and checkboxes in a web form.(This topic is limited to 2 initial posts.)

6. How are drop-down lists used in a web form? How to pass multiple values to the server?

7. What are the advantages and disadvantages of using the GET method and the POST method.

Part 2:

See the attachment.


Answered Same Day Mar 06, 2021 BCS350

Solution

Arun Shankar answered on Mar 07 2021
150 Votes
PHP Solution/hw3_form.html


BCS 350 - Assignment 3 -- Student Name


Create your profile


        First name        
        Last name        
        Email address:        
        Class standing:        
Freshman
Sophomore
Junio
Senio

        School:        
School of Arts & Sciences
School of Business
School of Engineering Technology
School of Health Sciences

        Extra        
Veteran
Transfer Student
International Student

        Program and other information
you like to share:        


        Upload your profile pic
(JPG, GIF, PNG or TIF file)        


        








PHP Solution/hw3_process.php
?php
*
This function is given by the Professor, and not coded by me.
*
function sanitizeString($var)
{
    if (get_magic_quotes_gpc())
    $var = stripslashes($var);
    $var = htmlentities($var);
    return $var;
}
$fname = sanitizeString($_POST["customerFirstName"]);
$lname = sanitizeString($_POST["customerLastName"]);
$email = sanitizeString($_POST["customerEmail"]);
$class = $_POST["classStanding"];
$school = $_POST["school"];
$info = sanitizeString($_POST["programInfo"]);
$target_dir = "uploads/";
$target_file = $target_dir.basename($_FILES["myFile"]["name"]);
$uploadOk = 1;
$imageFileType =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here