Home Page About Mull Building Supplies Where we are What we supply Send us a message

  debug = false; # print debugging info /*== security defaults ==*/ $form->security = true; # match referers $form->bad_addresses = '205.245.185.21,127.0.0.1,10.1.1.4,host.domain.com'; /*== templates defaults - leave blank to disable ==*/ $form->tpl_thankyou = 'thankyou.tpl'; # thank you page template $form->tpl_mailform = 'mailform.tpl'; # email template $form->tpl_mailreply = 'mailreply.tpl'; # email reply template /*== other defaults ==*/ $form->mailfrom = 'Orders@mullbuildingsupplies.co.uk'; # form mail-from $form->rep_subject = 'Thanks for your order'; # reply subject $form->mailto = 'orders@mullbuildingsupplies.co.uk'; # form mail-to $form->subject = 'An order from your web Site'; # email subject $form->details = true; # adds extra details to results /*== file uploads ==*/ $form->uploaddir = ""; # directory to place uploaded files. # leave blank to disable /*== database configuration ==*/ $form->database = false; # enable/disable database storage. # Uses PEAR's DBI class $form->dbtype = "mysql"; # (mysql, pgsql, sybase, ibase, odbc, ..etc) $form->dbname = ""; # name of the database to use $form->dbhost = "localhost"; # database host name $form->dbuser = ""; # database username (or blank) $form->dbpass = ""; # database password (or blank) $form->dbtable = ""; # database table to insert into # stuff these fields into the database table $form->stuff("name","Name"); $form->stuff("email","Email"); $form->stuff("rating","Rating"); $form->stuff("mailinglist","MailingList"); $form->stuff("comment","Comment"); $form->stuff("interests","Interests"); $form->stuff("income","Income"); /*== set validation hooks ==*/ # available functions # isBlank,isBlankRadio,isBadURL,isNumber,isEmail,isFirstOption $form->validate("name","isBlank","You haven't entered your name."); $form->validate("Telephone","isBlank","Sorry, you have to enter a telephone number."); //$form->validate("email","!isEmail","Invalid email address."); //$form->validate("rating","isBlankRadio","You must choose a radio button."); //$form->validate("income","isFirstOption","You must choose a select option"); # make certain variable names human readable $form->humanize("name","Full Name"); $form->humanize("email","Email Address"); # execute the form $form->draw('./example.html'); ?>  

Mull Building Supplies

Craignure
Isle of Mull
Argyll PA65 6AY

Tel 01680 812488
Fax 01680 812385
email:info@mullbuildingsupplies.co.uk