... converts "broken-down" time into string • Wed Jul 31 13:10:37 2002 © 2003 Prentice Hall, Inc All rights reserved 16 16.9 Simple CGI Script • Now, need to output to Web browser – With CGI, redirect ... execute program – Put C++ executable in cgi- bin directory – Changed extension from exe to cgi • localtime .cgi – To run script • http://localhost /cgi- bin/localtime .cgi © 2003 Prentice Hall, Inc All ... reserved 16. 6 © 2003 Prentice Hall, Inc All rights reserved Requesting XHTML Documents 10 16. 7 Introduction to CGI • Common Gateway Interface (CGI) – Enables applications to interact with Web servers...