Presentation is loading. Please wait.

Presentation is loading. Please wait.

INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6.

Similar presentations


Presentation on theme: "INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6."— Presentation transcript:

1 INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6

2 Objective How to set up the web server to run CGI scripts How to use CGI/Perl scripts for implementing common web-based applications Understand the structure of CGI/Perl scripts

3 How to run Perl in web server? Use ActivePerl You can download from the course web pages Just double click the program and everything will be set up for you

4 Test your Perl scripts Write a simple Perl scripts and put it under your web server’s base directory Type the URL address of the Perl scripts in the browser and see the result

5 What is in Lab 6? An authentication scripts A email sending scripts A course Enrollment scripts

6 Authentication Scripts The script is given to you You have to analysis it and find out the user name and password You have to show you can login successfully You have to answer question 3 and 5 in the experiment

7 Email Sending Scripts The script is given to you Send a email to your own email account Make some change in the script such that the response of the program will not mislead the user

8 Course Enrollment Scripts Html and simple script is given only You need to implement all the requirements stated in the menu –Check the FirstName field –Users can choose INE1020 and IEG3310 –Users can not choose IEG3310 if they are year 1 student

9 Submission Deadline –23:59:59 of 11 th Nov for Monday group –23:59:59 of 14 th Nov for Thursday group Send email to hmtse3@ie.cuhk.edu.hkhmtse3@ie.cuhk.edu.hk You should include –Name and student id –Answer to question 3 and 5 for experiment 1 –Answer to question 5 for experiment 2 –All source code for experiment 1, 2 and 3. You should zip all the source code into one file and name it with your student id

10 Mid-term Q1 Most people have serious spelling mistake that cause 0 mark: eg. identification, acknowledgement, asterisk. No one get the right answer for "data flow tag"

11 Mid-term Q3 0.5 All html are correct 0.5 Use for loop correctly 1.0 Use if/switch to check the case correctly –0.5 if some case is correct 0.5 Use continue/else correctly 0.5 No other major JavaScript syntax error

12 Mid-term Q3 Be careful of using writeln, you should add “ ” at the end of each writeln Remember the use of for loop and if-else statement Remember the different between == and = Continue only break for and while loop


Download ppt "INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6."

Similar presentations


Ads by Google