phpDocumentor util
[ class tree: util ] [ index: util ] [ all elements ]

Source for file index.php

Documentation is available at index.php

  1. <?
  2. /**
  3. * The index.php.
  4. * The main entry for a browser request
  5. *
  6. * @package util
  7. * @filesource
  8. * @see index.php
  9. * @copyright (c) http://Finn-Rasmussen.com
  10. * @license http://Finn-Rasmussen.com/license/ myPHP License conditions
  11. * @author http://Finn-Rasmussen.com
  12. * @version 1.9
  13. * @since 21-oct-2005
  14. */
  15.  
  16. /**
  17. * The required files
  18. */
  19. require_once($_SERVER['DOCUMENT_ROOT'].'/initialize.php');
  20.  
  21. require_once(HTML_UTIL_COMPONENT_PATH.'/Format.php');
  22. require_once(HTML_UTIL_COMPONENT_PATH.'/Request.php');
  23. require_once(HTML_UTIL_COMPONENT_PATH.'/Server.php');
  24. require_once(HTML_UTIL_COMPONENT_PATH.'/Decrypt.php');
  25. require_once(HTML_UTIL_COMPONENT_PATH.'/Encrypt.php');
  26. require_once(HTML_UTIL_COMPONENT_PATH.'/Referer.php');
  27. require_once(HTML_UTIL_COMPONENT_PATH.'/Session.php');
  28.  
  29. print "<h4>Test of Format</h4>";
  30. Format::display('650',FORMAT_STYLE_MONEY_LONG);
  31.  
  32. print "<h4>Test of Request</h4>";
  33. Request::display();
  34.  
  35. print "<h4>Test of Server</h4>";
  36. Server::display();
  37.  
  38. print "<h4>Test of Encrypt</h4>";
  39. $encryptedText = Encrypt::it('Some text');
  40. print "<p>encryptedText = $encryptedText</p>";
  41.  
  42. print "<h4>Test of Decrypt</h4>";
  43. $decryptedText = Decrypt::it($encryptedText);
  44. print "<p>decryptedText = $decryptedText</p>";
  45.  
  46. print "<h4>Test of Referer</h4>";
  47. Referer::display();
  48.  
  49. print "<h4>Test of Session</h4>";
  50. Session::display();
  51. ?>

Documentation generated on Thu, 22 Dec 2005 17:10:15 +0100 by phpDocumentor 1.3.0RC3