Question: Write C code for the following: (a) display a counter (the number of hits) (b) the number of seconds since January 1, 1970 i.e. when

Write C code for the following: (a) display a counter (the number of hits) (b) the number of seconds since January 1, 1970 i.e. when you issue omega.uta.edu/ sn/cgi-bin/hw10.cgi the screen should look like UTA http:lomega.uta.eduf x :? ? ? http://omega.uta.edu/usn/cg-binhw.counter_seconds.cgi Demo only Since January 1, 1970, 1288669084 seconds have passed. You are the 1475th visitor Hit F5 (Function key 5) to refresh. You need 1. Your CGI source code 2. Location of your CGI program (i.e. http://omega.uta.edu/-xyz123/cgi-bin/hw10.cgi Write C code for the following: (a) display a counter (the number of hits) (b) the number of seconds since January 1, 1970 i.e. when you issue omega.uta.edu/ sn/cgi-bin/hw10.cgi the screen should look like UTA http:lomega.uta.eduf x :? ? ? http://omega.uta.edu/usn/cg-binhw.counter_seconds.cgi Demo only Since January 1, 1970, 1288669084 seconds have passed. You are the 1475th visitor Hit F5 (Function key 5) to refresh. You need 1. Your CGI source code 2. Location of your CGI program (i.e. http://omega.uta.edu/-xyz123/cgi-bin/hw10.cgi
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
