Source for file retrieve.php

Documentation is available at retrieve.php

  1. <?php
  2.  
  3. /*
  4. Program E related AIML knowledgebase tools
  5. Copyright 2004, Anne Kootstra [anne@aiml.info]
  6. http://www.AIML.info
  7. Program E is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. Program E is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Program E; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  20. */
  21.  
  22. require_once "../../admin/dbprefs.php";
  23. require_once "../include/retrieve.inc.php";
  24. require_once "../include/common.inc.php";
  25.  
  26.  
  27. echo "This is the pattern retrieval page.<br>";
  28.  
  29. $templateID = "50";
  30. $botid = findbotid();
  31.  
  32. $final_category = findCategoryPattern($botid, $templateID);
  33.  
  34. echo "<pre>\n";
  35. print_r($final_category);
  36. echo "</pre>\n";
  37.  
  38. echo "that = ".$final_category['that'];
  39.  
  40. ?>

Documentation generated on Tue, 11 Jan 2005 18:41:10 +0100 by phpDocumentor 1.3.0RC3