ListCourses.cgi
is activated once a button is clicked:
~/public_html/cgi-bin/demo/10/ListCourses.cgi |
#!/usr/bin/bash # To set up the Oracle environment dynamically CLASSPATH=.:/usr/lib/oracle/23/client64 CLASSPATH=$CLASSPATH:/usr/lib/oracle/23/client64/lib/ojdbc8.jar CLASSPATH=$CLASSPATH:/usr/lib/oracle/23/client64/lib/ottclasses.zip export CLASSPATH # Calling the CGI Perl script /usr/bin/perl ListCourses.pl |
ListCourses.pl
.
Note that
print( "Content-type: text/html\n\n" ); print( "Content-type: text/plain\n\n" );
βIt is better to remain silent at the risk of being thought a fool, than to talk and remove all doubt of it.β β Maurice Switzer, Mrs. Goose, Her Book |