Login   Register  
PHP Classes
elePHPant
Icontem

File: example1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of zandor  >  anagrams  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: example
Class: anagrams
Generate anagrams from given words
Author: By
Last change: no
Date: 8 years ago
Size: 432 bytes
 

Contents

Class file image Download
<?php

/*

class anagram
-------------
This is the simplest example showing the basic
application of the class, which here lists all
anagrams of the term 'earth' and then flushes
all results into a file.

*/

require_once( 'anagram.php' );

$anagrams = new anagram();

$anagrams->insert_word"google" );

$anagrams->set_save_filetrue ) ;
$anagrams->set_save_file_name"ex1.html" ) ;
$anagrams->go();

?>