Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

171 lines
8.3 KiB

  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type"
  5. content="text/html; charset=iso-8859-1">
  6. <meta name="GENERATOR" content="Microsoft FrontPage 2.0">
  7. <title> PerlScript Active Server Samples </title>
  8. </head>
  9. <body bgcolor="#FFFFFF">
  10. <!-- Masthead -->
  11. <table border="0" cellpadding="3" cellspacing="0">
  12. <tr>
  13. <td valign="top" width="400"><a name="TOP"><img
  14. src="PSBWlogo.gif" alt="ActiveState PerlScript"
  15. width="400" height="48"></a></td>
  16. </tr>
  17. </table>
  18. <p><font size="5" face="Ariel">Welcome to the PerlScript Active
  19. Server Sample Library.<br>
  20. </font></p>
  21. <hr>
  22. <p><font size="5" face="Ariel">
  23. <center>Examples of Server Scripting</center></font></p>
  24. <font size="3" face="Courier">
  25. <table border="0" cellpadding="3" cellspacing="5" width="100%">
  26. <tr>
  27. <td valign="top"><a href="hello.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  28. <td valign="top"><a href="hello.asp">Hello World</a></td>
  29. <td valign="top">The ASP Response Object says "Hello World!"</td>
  30. </tr>
  31. <tr>
  32. <td valign="top"><a href="loops.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  33. <td valign="top"><a href="loops.asp">Loops</a></td>
  34. <td valign="top">Many constructs of different loops with different conditions.</td>
  35. </tr>
  36. <tr>
  37. <td valign="top"><a href="fibfxn.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  38. <td valign="top"><a href="fibfxn.asp">Fibonacci</a></td>
  39. <td valign="top">This example calculates the Fibonacci sequence up to 17.</td>
  40. </tr>
  41. <tr>
  42. <td valign="top"><a href="browser.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  43. <td valign="top"><a href="browser.asp">Browser Properties</a></td>
  44. <td valign="top">Detect and display some of your Browser's features with ASP!</td>
  45. </tr>
  46. <tr>
  47. <td valign="top"><a href="response.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  48. <td valign="top"><a href="response.asp">How to send info to a browser?</a></td>
  49. <td valign="top">Click here to find out!</td>
  50. </tr>
  51. <tr>
  52. <td valign="top"><a href="srvvar.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  53. <td valign="top"><a href="srvvar.asp">Server variables</a></td>
  54. <td valign="top">The values of predetermined environment variables that were accessed by the ASP Request object. </td>
  55. </tr>
  56. <tr>
  57. <td valign="top"><a href="httpvar.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  58. <td valign="top"><a href="httpvar.asp">HTTP variables</a></td>
  59. <td valign="top">The following is a list of HTTP Variables accessed by the ASP Request object.</td>
  60. </tr>
  61. <tr>
  62. <td valign="top"><a href="dumpvars.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  63. <td valign="top"><a href="dumpvars.asp">PerlScript Variables</a></td>
  64. <td valign="top">Shows you PerlScript's variables</td>
  65. </tr>
  66. <tr>
  67. <td valign="top"><a href="qstring.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  68. <td valign="top"><a href="qstring.asp">Query String</a></td>
  69. <td valign="top">Find a server-side purpose for your HREF links with the URL parameters.</td>
  70. </tr>
  71. <tr>
  72. <td valign="top"><a href="wform.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  73. <td valign="top"><a href="wform.asp">Web Forms</a></td>
  74. <td valign="top">Learn how to gather data from and provide web HTML forms for the client.</td>
  75. </tr>
  76. <tr>
  77. <td valign="top"><a href="adrot.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  78. <td valign="top"><a href="adrot.asp">Ad Rotator</a></td>
  79. <td valign="top">Learn how to use the AdRotator Server COM Component that installs with IIS.</td>
  80. </tr>
  81. <tr>
  82. <td valign="top"><a href="vbs-pl-hello.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  83. <td valign="top"><a href="vbs-pl-hello.asp">PerlScript &amp; VBScipt</a></td>
  84. <td valign="top">Example of how VB script can work with PerlScript.</td>
  85. </tr>
  86. <tr>
  87. <td valign="top"><a href="vbs-pl-param.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  88. <td valign="top"><a href="vbs-pl-param.asp">PerlScript &amp; VBScipt</a></td>
  89. <td valign="top">Example of how VB Script can call PerlScript.</td>
  90. </tr>
  91. <tr>
  92. <td valign="top"><a href="session1.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  93. <td valign="top"><a href="session1.asp">Session Variables</a></td>
  94. <td valign="top">This script will demonstrate the ASP Session object and custom Session variables.</td>
  95. </tr>
  96. </table>
  97. </font>
  98. <hr>
  99. <p><font size="5" face="Ariel">
  100. <center>Examples using ADO</center></font></p>
  101. <font size="3" face="Courier">
  102. <p><b>Note:</b> These examples require <a href="http://www.microsoft.com/data/download_250rtm.htm">Microsoft Data
  103. Access Components MDAC 2.5 RTM</a></p>
  104. <table border="0" cellpadding="3" cellspacing="5" width="100%">
  105. <tr>
  106. <td valign="top"><a href="ado5.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  107. <td valign="top"><a href="ado5.asp">ADO Object</a></td>
  108. <td valign="top">Learn how to create a database connection and retrieve records from the database.</td>
  109. </tr>
  110. <tr>
  111. <td valign="top"><a href="ado1.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  112. <td valign="top"><a href="ado1.asp">ADO Object</a></td>
  113. <td valign="top">Similar to the previous example, but with a more elegant style of presentation.</td>
  114. </tr>
  115. <tr>
  116. <td valign="top"><a href="ado10.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  117. <td valign="top"><a href="ado10.asp">ADO Recordset Object's Fields Collection</a></td>
  118. <td valign="top">Learn how to easily loop the Fields-collection of a Recordset without much effort.</td>
  119. </tr>
  120. <tr>
  121. <td valign="top"><a href="ado11.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  122. <td valign="top"><a href="ado11.asp">ADO Error Detection</a></td>
  123. <td valign="top">Important example on how you can detect errors as they occur during the database operations.</td>
  124. </tr>
  125. <tr>
  126. <td valign="top"><a href="ado12.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  127. <td valign="top"><a href="ado12.asp">ADO Enumerated Constants</a></td>
  128. <td valign="top">Example that shows you how to access the ADO constants using script.</td>
  129. </tr>
  130. <tr>
  131. <td valign="top"><a href="ado13.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  132. <td valign="top"><a href="ado13.asp">ADO Record Counting</a></td>
  133. <td valign="top">Learn how to count the number of records returned from a query.</td>
  134. </tr>
  135. <tr>
  136. <td valign="top"><a href="ado14.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  137. <td valign="top"><a href="ado14.asp">ADO Transaction Management</a></td>
  138. <td valign="top">Managine database transactions with the ADO Connection object.</td>
  139. </tr>
  140. </table>
  141. </font>
  142. <hr>
  143. <p><font size="5" face="Ariel">
  144. <center>Examples using SQL Server</center></font></p>
  145. <font size="3" face="Courier">
  146. <p><b>Note:</b> These examples require SQL Server and that the script 'PerlScript/eg/aspSamples/setup.pl' to has been run.</p>
  147. <table border="0" cellpadding="3" cellspacing="5" width="100%">
  148. <tr>
  149. <td valign="top"><a href="ado15.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  150. <td valign="top"><a href="ado15.asp">ADO Stored Procedures</a></td>
  151. <td valign="top">How-to parameterize stored procedures using the ADO Command object.</td>
  152. </tr>
  153. <tr>
  154. <td valign="top"><a href="ado17.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  155. <td valign="top"><a href="ado17.asp">ADO Stored Procedures Retval</a></td>
  156. <td valign="top">Shows how to grab values returned from a database</td>
  157. </tr>
  158. <tr>
  159. <td valign="top"><a href="ado16.asp"><img src="aspfdr.gif" border="0" width="16" height="16"></a></td>
  160. <td valign="top"><a href="ado16.asp">ADO Binary Large Objects (BLOBs)</a></td>
  161. <td valign="top">How-to read a binary large object from a database and present it as an image</td>
  162. </tr>
  163. </table>
  164. </font>
  165. <hr>
  166. </body>
  167. </html>