home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 37 / hot37.iso / FICHEROS / LVB / CGIT201.ZIP / INDEX.HT_ / INDEX.HT
Text File  |  1998-06-02  |  3KB  |  74 lines

  1. <!-- Copyright (c) 1998 EazyWare Internet and software solutions - http://www.eazyware.com -->
  2. <HTML>
  3. <HEAD>
  4.     <TITLE>VB5-CGI Objects examples overview</TITLE>
  5. </HEAD>
  6.  
  7. <BODY BGCOLOR="#FFFFFF">
  8. <H1><FONT FACE="Arial Black, Arial, Helvetica" COLOR="#009999">VB5-CGI Objects Examples</FONT></H1>
  9. <FONT FACE="Arial, Helvetica">
  10. <B>Important:</B> Before trying the following examples, please compile and copy the associated scripts to your <I>script</I> directory (e.g 'Scripts' or 'cgi-bin').
  11. By default, the form <I>action</I> is set to "http://localhost/Scripts/[script.exe], which is the default setting when using the MS-Personal Web Server.
  12. Usually, the host name <I>localhost</I> has the IP address <I>127.0.0.1</I>.
  13. <HR SIZE="1">
  14. <P><B><A HREF="demoCGI.htm" TARGET="_blank">demoCGI</A></B> - script: <B>demoCGI.exe</B><BR>
  15. Basic CGI script using some low-level functionality:
  16. <UL>
  17.     <LI>Uses the VB5CGI object
  18.     <LI>Uses the GET method
  19.     <LI>Writes environment variables, input, output and execution time to the debug log file 'CGIdemo.log'
  20.     <LI>Sets and retrieves cookies
  21.     <LI>Decodes the query string
  22.     <LI>Uses a hit counter
  23.     <LI>Shows the environment variables
  24. </UL>
  25. <BR>
  26. <P><B><A HREF="demoHTML.htm" TARGET="_blank">demoHTML</A></B> - script: <B>demoHTML.exe</B><BR>
  27. Shows some high-level functionality:
  28. <UL>
  29.     <LI>Uses the VB5CGI and VB5HTML object
  30.     <LI>Allows only the POST method
  31.     <LI>Limits the query string to 1024 characters
  32.     <LI>Validates the entries
  33.     <LI>Uses a hit counter
  34.     <LI>Shows some environmental variables
  35.     <LI>Uses header and footer files
  36. </UL>
  37. <BR>
  38. <P><B><A HREF="demoDB.htm" TARGET="_blank">demoDB</A></B> - script: <B>demoDB.exe</B><BR>
  39. Allows to search by certain criterias in the provided MS-Access database for a Hotel:
  40. <UL>
  41.     <LI>Uses the VB5CGI, VB5HTML and VB5DB object
  42.     <LI>Uses the POST method
  43.     <LI>Uses a hit counter
  44.     <LI>Returns all related entries in a formated table
  45. </UL>
  46. <BR>
  47. <P><B><A HREF="demoODBC.htm" TARGET="_blank">demoODBC</A></B> - script: <B>demoODBC.exe</B><BR>
  48. Shows the basic technique how to access an ODBC database from the VB5-CGI Objects:
  49. <UL>
  50.     <LI>Uses the VB5HTML object
  51.     <LI>Uses the GET method
  52.     <LI>Runs the query from the DSN, Username, Password and SELECT-SQL string you entered
  53.     <LI>Returns the query result in a table
  54. </UL>
  55. <BR>
  56. <P><B><A HREF="http://localhost/Scripts/demoGuestbook.exe" TARGET="_blank">demoGuestbook</A></B> - script: <B>demoGuestbook.exe</B><BR>
  57. This guestbook example shows also how a script can call itself:
  58. <UL>
  59.     <LI>Uses the VB5CGI and VB5HTML object
  60.     <LI>Uses the GET or POST method
  61.     <LI>Creates the HTML itself, just needs a link to the script
  62.     <LI>Saves all entries in a text file
  63.     <LI>Shows all information on one page
  64.     <LI>Validates the entries and highlights the missing input fields
  65.     <LI>Removes HTML tags from entries
  66.     <LI>Shows the last entry on top of the list
  67.     <LI>Doesen't allow to save the same entry multiple times
  68. </UL>
  69. </FONT>
  70. <HR SIZE="1">
  71. <CENTER><FONT FACE="Arial, Helvetica" SIZE="-1">FAQ's, updates and further information can be found at: <A HREF="http://www.eazyware.com/vb5-cgi/" TARGET="_blank">www.eazyware.com/vb5-cgi</A>.</FONT></CENTER>
  72. </BODY>
  73. </HTML>
  74.