Getting CGI to work after you have solved the 501 - Internal server error is interesting.
You have something to talk about now. Let us look at few crisp useful examples. Then I will tell you how to use Ajax with jQuery to build a useful web application. No useful stuff can be done without javascript and CGI. In fact this alone is sufficient. No need to use bloated Catalyst, Mason or Python CGI frameworks. If people talk about this in LUG it is only due to ignorance. How many people in LUG have grown beyond Linux? Anyway let us look at the first CGI code that does some real work now. $ cat interst #!/usr/bin/perl use CGI; $q = new CGI; print $q->header, $q->start_html; $uptime = `uptime`; print "The uptime of this host is : $uptime\n"; $loggedin = `w`; print "The list of users logged in is \n"; print "<pre>"; print $loggedin; print "</pre>"; print $q->end_html; $ cat another #!/usr/bin/perl use CGI; $q = new CGI; print $q->header, $q->start_html; $pslist = `ps ax`; print "<pre>"; print $pslist; print "</pre>"; print $q->end_html; I can give you more and more and more. But we stop here. -Girish -- Gayatri Hitech http://gayatri-hitech.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
