Installation of PHP Multi Form Generator
Installation of Multi Form Generator is reasonably simple. Instructions can be found in the supplied readme.txt file.
Depending on server configuration, users may need to enable write permissions for the installation directory on the server. Typically CHMOD 777 or CHMOD 755. Users are advised to apply their own directory protection mechanism to the uploaded files.
Unzip the MFG archive using the folder structure. The top level directory name (usually mfg5) can be renamed.
Using phpMyAdmin, optionally install the schema from the online demo (/mfg5/sql/demo_schema.sql).
Installation of the `change_log` schema is recommended even if omitting the other tables.
Edit the database logon and other variables at /mfg5/output/inc/dbconn.php
Edit /mfg5/generator.php (set your email address and a few other variables).
Usage of /mfg5/output/inc/header2.php & /mfg5/output/inc/footer2.php to surround your forms is advised. Edit the DOCTYPE and META tags in the header and footer scripts. Set the appropriate DOCUMENT_ROOT in the switch(). Set the stylesheet (generic2.css is recommended).
In /mfg5/output/index.php, see $cfg_target_prefix = 'my_' (if this is not the filename prefix you prefer, change it to the same setting that you will be selecting when generating forms).
Make sure that your FTP client does not force lower case filenames upon uploading. If this happens, the language files will appear to be missing, and the forms will be blank. The language files are named with a combination of upper and lower case letters.
Upload files to your server and point your web browser to index.php
View the Demo (new window).
PHP Form Generator Home
| PHP Form Generator Demo
|