PHP Classes
Icontem

File: Read_Me_for_Sample.txt


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Joshua hatfield  >  floCrossword  >  Read_Me_for_Sample.txt  
File: Read_Me_for_Sample.txt
Role: Documentation
Content type: text/plain
Description: Read here if you think I am missing the example_map.fcm file.
Class: floCrossword
Generate crossword puzzles
 

Contents

Class file image Download
The sample scripts are designed to create the "example_map.fcm" file for you.  
Please execute the index.php sample script and make sure the directory being 
written to by the line creating that file is writable.  If the directory was 
not writable, you should have gotten an error executing index.php stating such 
(unless your error messages are turned off).

file_put_contents("example_map.fcm", $CW->get_map()); 

By default, that would be the directory containing the sample script, however, 
if you like, you can change it to a different directory rather easily.  E.g.

file_put_contents("mysubfolder/example_map.fcm", $CW->get_map()); 
file_put_contents("/fullpathto/myfolder/example_map.fcm", $CW->get_map()); 
file_put_contents("../../someotherfolder/example_map.fcm", $CW->get_map()); 

Also, you will need to point the other sample file, solved.php to the new 
location if you move the file.  That would be on this line:

$CW->set_map(file_get_contents("example_map.fcm")); 

E.g.

$CW->set_map(file_get_contents("mysubfolder/example_map.fcm")); 

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products