PHP Classes

File: Read_Me_for_Sample.txt

Recommend this page to a friend!
  Classes of Joshua hatfield   floCrossword   Read_Me_for_Sample.txt   Download  
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
Author: By
Last change: Added line breakes before column 80 for easier readability on non-word-wraping displays.
Date: 17 years ago
Size: 1,079 bytes
 

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"));