File: demo/demo.php

Recommend this page to a friend!
  Classes of castromiltone  >  PHP Word Completion  >  demo/demo.php  >  Download  
File: demo/demo.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Word Completion
Suggest words that complete strings
Author: By
Last change:
Date: 2 years ago
Size: 367 bytes


Class file image Download
require '../WordCompletion.php';
    if (isset(
$_POST['input_text']) and isset($_POST['source']))
$typed = $_POST['input_text'];
$filename = $_POST['source'];
#ini_set('memory_limit', '-1');
$wc = new WordCompletion($filename);

header("Content-Type: Application/json");

For more information send a message to info at phpclasses dot org.