JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
metaform: set utf8 charset in .sql files
[wfpl.git] / INSTALL
diff --git a/INSTALL b/INSTALL
index b0fed71..09fa003 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -1,14 +1,20 @@
-This directory must be accessible to your PHP files vie the relative path: code/wfpl/
+INSTALLING WFPL
+
+This directory must be accessible to your PHP files via the relative path: code/wfpl/
 
 The recommended way to do this is to create a directory named "code" in the
 main folder of your website. And make symbolic links to that "code" directory
 from all directories in your website where you run PHP.
 
 
 The recommended way to do this is to create a directory named "code" in the
 main folder of your website. And make symbolic links to that "code" directory
 from all directories in your website where you run PHP.
 
-Install wfpl within that "code" directory.
+Install wfpl within that "code" directory. That is, these files should be in a
+directory named "wfpl" in the "code" directory described above.
+
 
 
 
 
+INSTALLING METAFORM on apache (OPTIONAL)
 
 
-INSTALLING METAFORM on apache
+Note: metaform is a code generator. It is NOT required to use wfpl. It is a
+tool for auto-generating code for your site which makes use of wfpl.
 
 metaform.php unfortunately has a couple extra steps.
 
 
 metaform.php unfortunately has a couple extra steps.
 
@@ -23,15 +29,18 @@ ln -s code/wfpl/metaform.php index.php
 
 4) make a file named .htaccess that looks like this:
 
 
 4) make a file named .htaccess that looks like this:
 
+php_flag register_globals off
+php_flag magic_quotes_gpc off
+AddDefaultCharset UTF-8
 RewriteEngine  on
 RewriteBase    /metaform/
 RewriteRule    .*\.tgz$  /metaform/index.php
 
 Note: the above .htaccess file assumes that the "metaform" directory you
 RewriteEngine  on
 RewriteBase    /metaform/
 RewriteRule    .*\.tgz$  /metaform/index.php
 
 Note: the above .htaccess file assumes that the "metaform" directory you
-created in step one is in the root www directory. If it's in a sub directory
+created in step one is IN the root www directory. If it's in a sub directory
 (for example you access it via: http://example.com/my/sub/dir/metaform/) then
 (for example you access it via: http://example.com/my/sub/dir/metaform/) then
-replace the two occurences of "metaform" in the .htaccess file with the path to
-that directory (for example "my/sub/dir/metaform").
+replace the two occurrences of "metaform" in the .htaccess file with the path
+to that directory (for example "my/sub/dir/metaform").
 
 5) If php can't write to /tmp then you'll have to fix the $tmp_dir in
 code/wfpl/tar.php
 
 5) If php can't write to /tmp then you'll have to fix the $tmp_dir in
 code/wfpl/tar.php