addedit-ajax.php
– this will hold any AJAX functions that are needed; currently the only one is the selectbox_other ability.addedit-create-form.php
– loops through the form fields and variables and calls function (found inaddedit-form-fields.php
) to generate the field elementsaddedit-customize.php
– use this to do any custom coding before the form is actually rendered.addedit-error-check.php
– contains the code to do the error checking after a form is submittedaddedit-error-check-custom.php
– blank by default; put your own PHP code in this file if you need some error checking not currently offeredaddedit-execute.php
– this file, called byaddedit-render.php
, loops through all the relevant tables and fields and generates the relevant sql code and then executes; it also sends emails and re-directs to a success/failure page if necessaryaddedit-execute-custom.php
– blank by default; put your own PHP code in this file if you need something to happen after a form is submitted besides the obviousaddedit-form-fields.php
– this file is called byaddedit-create-form.php
and actually generates the individual form elementsaddedit-functions.php
– contains lots of goodies, including a set of file manipulation functions, basic functions, database functions, etc.addedit-getversion.inc.php
– fetches the latest version of the script from the phpAddEdit website so users can be notified when a new version is availableaddedit-login.php
– this file handles the login routine to provide a small measure of security to the scriptaddedit-render.php
– this is the file that is called by the end result form file (e.g. myform.php); it actually does all the work to create the form, mostly by including other relevant filesaddedit-rss.php
– this file creates an RSS feed after form submissionaddedit-steps.php
– this file contains all the functions for each step of the form creation process; each function is called from theindex.php
fileaddedit-trackback.php
– this file will look for trackback URIs and attempt to issue a trackback ping if you specify the form to do so when creating itconfig.php
– this is the file that contains the database information that will be needed to create or edit a formindex.php
– main pageresequence.php
– if your form has selectbox items, the script will delete all existing entries and then add the selected items. This can bloat the primary key (index) for affected tables. The resequence file will go through a table and renumber the primary key. You must edit this file to suit your database table namesincludes/admin.css
– the CSS controlling the look and feel of the form generator itself; feel free to change this at will to suit your tastesincludes/ajax_file_upload.inc.php
– because the file upload AJAX functionality can’t be accomplished easily, this form is used instead of the addedit-ajax.php fileincludes/class-IXR.php
– an open source file useful in generating pings for the RSS functionalityincludes/cleanit-functions.php
– this file is used only if you set the option to use the cleanit function in the configuration; it will “cleanup” the crappy HTML code that MS Word creates (only applies to use of the FCKeditor textarea field typeincludes/db.php
– this file is more or less the db.php file used by WordPress. I am not really using it effectively but I originally intended to and maybe will someday…includes/dbconnect.inc.php
– this file creates a database conncection ($aedb) based on the information in the config fileincludes/email_template.php
– this file contains the basic HTML template for any HTML emails that will be sent after form submissionincludes/header.php
– the header of the form generator; includes 3 rows/bars of pages/steps/optionsincludes/javascripts.js
– handles any relevant javascript needs which mostly means showing and hiding certain divs in the Options (2) stepincludes/login.css
– this is only used when logging in or installing the scriptincludes/style.css
– this is only used when viewing or testing the form you have created. It contains CSS for the form class options. Edit it to suit your needs or replace with your own file or just ignore it…includes/validateurl.php
– used in the error checking (validation) routine if a field has been designated with a valid url requirement; it mostly works but isn’t perfect by any means…includes/verifyemail-lib.php
– this code from Lars B. Jensen provides the functionality for verifying email addresses in the error_cheking routine; it offers three different validation levels:
Level 1 : Correct formatting of email
Level 2 : Server exists in DNS as MX record
Level 3 : Does the user exist on the email givenincludes/version.inc.css
– just contains the current version of the script and is used to compare with the latest version on the phpAddEdit website to determine if an upgrade is availablephpmailer/
– there are three files in this directory and are used to send emails upon form submission if the SMTP method is selected
Description of phpAddEdit Script Files
Click to see/join the conversation