WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World

Go Back Add a Comment Send this example to a friend Add this Article to your personal favoritest for easy future access to your favorite Code Examples and Articles. Submit a code example Print this code example.
BACK ADD A COMMENT SEND TO A FRIEND ADD TO MY FAVORITES ADD CODE EXAMPLES PRINT
Title : Formit 1.0. PHP Very easy to implement form-template(s) to email script. Works with multiple templates and HTML-format email. Only one file!
Categories : PHP, Email, HTML Update Picture
rudy nooyen
Date : May 22nd 2000
Grade : 3 of 5 (graded 5 times)
Viewed : 7732
File : formit.zip
Images : No Images for this code example.
Search : More code by rudy nooyen
Action : Grade This Code Example
Tools : My Examples List

  Submit your own code examples 
 

Formit 1.0 (PHP)
----------------------------------------------

Easy 2 Use form2mail script:

A script that simply sends all fields from a form
according to a layout made in a template, and,
optional a 2nd template for acknowledgement.
Template(s) can also include HTML syntax.
I couldnt find this anywhere in PHP, so here it is:
Just change the mandatory vars/fields in form.html
as pleased, and you can send any form made in
the template.txt file preformatted. It's a bit
easier than making it with all the \n's and
vars etc. in php. This one does it for you.
You can also use a 2nd template that will send
another form to the sender as an acknowledgement.
You can give the url to go to after successfully
and not successfully sending the form.

In the template, just fill in the field-names,
by having them surrounded with chars: {{and}}.
You can have multiple {{ }} on one line.

-----------------------------------------------
Todo: lots of things, but the main goal was to
keep this script easy and simple to use.......You need : A server/host with PHP supportand a
computer would be handy.
----------------------------------------------
If you have any Q's or comments about this
script you can mail me: nooyen@home.nl.
If you make alterations or have improvements,
please let me know also.

Please leave the php code intact if you choose
to implement it in your website. Thank you.
Rudy Nooyen.
-----------------------------------------------





Query2Report : Generating Html, Pdf and Csv Reports from SQL Query
Categories : PHP, PHP, HTML, PDF, Excel
Parses HTTP_USER_AGENT so that you can customize your site to different browsers
Categories : HTML, PHP, Complete Programs
How to put a subject line in the mailto link.
Categories : Email, HTML
PHP based Contact email form with multiple recipients, text file based, supports departments.
Categories : PHP, Email, Beginner Guides, Filesystem
PHPRecommend v1.0 - "Recommend this page to a friend" script written in PHP. Easy to install
Categories : PHP, URLs, Complete Programs, Email, Site Planning
imap_sort
Categories : IMAP, Email, PHP, PHP Functions
ANTI leech script, use this if you want that people can't see the original URL. The files can be on your own server or on another server.
Categories : HTML, Misc, PHP
Builds JavaScript that updates the contents of one selector based on another.
Categories : HTML, Java Script, PHP, Complete Programs, General
ASCII To HTML Converter
Categories : PHP, HTML, ASCII
Popup Menu 0.5, popup, select, html, state-maintaing
Categories : HTML, PHP, HTML and PHP
making links from text
Categories : PHP, Regexps, Email
HTTP Basic Authentication via POP3.
Categories : Authentication, HTTP, Email, PHP
imap_subscribe -- Subscribe to a mailbox
Categories : PHP, PHP Functions, IMAP, Email
FormWizard reads a mysql table and generates automatically a html formular in a html-table
Categories : PHP, MySQL, HTML
Allows you to parse a deliniated string and put the individual fields in a SELECT option in a form
Categories : HTML, PHP, Strings