Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: polarair on December 08, 2005, 04:51:13 PM
-
As im gettin all sorts of problems with formproserrorpro and i still need a good form processor is there anybody with ideas where i should look. Else mail me a nice mail script and i will be :pint: one on you tonight!!
I need to pass on a form to different email adresses preferable with some nice HTML code that i can add in the send part. Also i need to check the validity of the email and some other fields.
I looked in the contribs site but found nothing.
Cheers
Mike ;-)
-
polarair
Try phpFormGenerator
http://phpformgen.sourceforge.net
Install guide:
http://phpformgen.sourceforge.net/install.html
------
1) login as root
2) migrate to home/e-smith/files/primary/html/
cd /home/e-smith/files/primary/html/
3) get the script
wget http://tech-geeks.org/contrib/bbutts/phpFormGen/phpFormGen-php-2.07b.tar.gz
4) Unzip the package
tar -xzvf phpFormGen-php-2.07b.tar.gz
5) Set permissions on the forms directory
cd phpform
chmod 777 -R forms
6) Go to your site
create forms
http://yourserver/phpform
display the form
http://yourserver/phpform/forms/form1.html
view the form results
http://yourserver/phpform/forms/admin
That's It.
To use with a mySql database:
Create the database (use phpMyAdmin)(No table needed)
Create a user and password for the database.
Grant permissions to the user.
Reload the MySql.
Enter the appropriate information in the phpFormGen panel.
Notes:
- Edit the form1.html page to customize the data entry page.
- Edit the index.php file in the admin folder to customize the results display.
-
I use soupermail (http://soupermail.sourceforge.net/). Very flexible.
-
Hello Ray
Try phpFormGenerator
http://phpformgen.sourceforge.net
Install guide:
http://phpformgen.sourceforge.net/install.html
------
I have a couple of questions about how secure these types of PHP types of script are and where they ought to be installed.
From what I see (I've looked at the phpformgenerator), it contains a script that processes mail forms. Is there *any* way that a spam abuser can capture the email address(s) that these process php files contain? If so, I'd rather not use the scripts, but if they are robust and safe, then great!
Secondly, the process.php files are (by default) installed in a subdir off root (phpform/forms for example). Is there any benefit in putting them in in the root, or is that a bad idea for such script files?
Chris