Tutorials

9 replies to this thread. Most Recent

Mike B

13 Sep 2007, 4:00 pm

Using easiForm with Freeway

Well at last I got round to it, I have created easiForm which is a form processing script for handling web forms. It probably doesn’t look easy as there is a lot of info but it actually is, in it’s most basic form you just need to add the e-mail address to the config file, name the form elements in your form as directed by easiForm then upload to the server. This will hopefully end a lot of confusion people have with forms, once you understand easiForms naming convention using more forms with it is a breeze. I find I can make working forms in minutes using it with Freeway.

easiForm is a script and a configuration file so you can customise your form configuration… easily. Basically all you need to do is name your form elements as directed in the easiForm README (Or Freeway tutorial examples), set your email address in the easiForm_config.php file and any other options you may like to set in the config file, upload the files and you have your form.

There are several examples shown which can be downloaded with all the files you need, in these examples you only need to set the email address and the forms will work on your server as long as you have PHP 4.2.0 or above.

easiForm offers quite a bit of spam protection in it’self but using it along with easiCaptcha or easiCaptchaM will give even better protection from any spam problems with your forms.

You can read more and download easiForm and or the example files here: easibase.com/freeway/freeway_form.php

easiScript is not free but can be used and will function in demo mode.

quote

Freeway, PHP and MySQL examples

www.easibase.com

Mike B

29 Dec 2007, 8:35 pm

I have just completed some Freeway actions for easiForm integration within Freeway. Using the ‘PHP easiForm’ suite of actions now means no coding at all to add the easiForm form processing scripts to your forms, simply add the actions as directed and name your form elements.

These actions take care of all the easiForm naming conventions, they create the scripts and form formatting while Freeway will upload the files to your server… thus making it a breeze to make forms using easiForm in Freeway. The action download includes a READ_ME file although I will add an online tutorial in a day or 2.

Example forms are available for download along with the actions from: easibase.com/freeway/freewayactions.php

The PHP easiForm action suite will install the following 3 actions:

[b]PHP easiForm[/b] - A page action, apply 1 per form.

[b]PHP easiForm Elements[/b] - An item action, apply 1 per element inc’ the Submit button.

[b]PHP easiForm Errors[/b] - An item action, apply 1 at top of the form elements.

‘PHP easiCaptcha’ action is now also available for adding a easiCaptcha ‘Math or Image’ to your ‘hand rolled’ or ‘easiForm’ forms.


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

DeltaDave

30 Dec 2007, 6:30 pm

Hi Mike

I have tried to install the Ioncube stuff on my server - which is hosted by James at Have-Host - with no success.

I asked James about this with the following answer:

IonCube is not installed on the server because it uses Zend Optimizer. I believe it is one or the other… though I will confirm this with my techs.

So I thought I would ask if you know the answer.

Thanks

David


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

Mike B

31 Dec 2007, 8:15 am

Hi Dave,

Normally ioncube and the Zend Optimizer can be used together, here is a snippit of text from the ioncube developers: We support the installing of Zend Optimizer along with our Loader in the php.ini file. Note that our Loader must be installed before Zend Optimizer in the php.ini file.

So generally in this case it is just a small text addition to the ini file if the server configuration is not set up to support runtime loading.

I contacted James about this yesterday and I will get back to you when I get his reply.

Cheers Mike


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

James Wilkinson

2 Jan 2008, 5:05 pm

I’m pleased to say that ION Cube (in addition to ZEND Optimizer) has now been installed, server-wide for all accounts throughout the system!

YAY!

Cheers! James


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

My Design Studio: www.dzynlab.com


Celebrating My 10th Year of Hosting Freeway Websites! Visit: www.have-host.com

Mike B

2 Jan 2008, 6:13 pm

James, thanks for the implementation.

Cheers Mike


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

DeltaDave

2 Jan 2008, 11:51 pm

I’ll second that

Every little bit that we can do to cut Spam is great and now that we have easicaptcha…

Thanks Mike

David


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Glasgow, Scotland

G5 PPC OSX.4.11 Freeway Pro 5.2

Mike B

21 Jan 2008, 1:23 am

The ‘PHP easiForm’ action suite has been updated to include options for sending a ‘Tell-a-friend’ form, a tutorial for this has been added at: www.easibase.com/freeway/freeway_tafform.php

This tutorial (As does the basic PHP easiForm’ tutorial) includes a section at the end for adding the ‘PHP easiCaptcha’ action with the Tell-a-friend form if required, although this action is not needed to use the Tell-a-friend or basic form options.

The Tell-a-friend option is available from v1.6 and above of the ‘PHP easiForm’ action.


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

Mike B

21 Jan 2008, 1:44 am

Just a small correction to the last post, I stated:

The Tell-a-friend option is available from v1.6 and above of the ‘PHP easiForm’ action.

The action version is actually v1.2, that version of the ‘PHP easiForm’ action uses v1.6 of the easiForm scripts, so it should have read:

The ‘Tell-a-friend’ option is available from v1.2b and above of the ‘PHP easiForm’ action and is available from v1.6 onwards in the actual easiForm scripts.


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

Back to Top

Mike B

20 May 2008, 7:10 pm

Various PHP easiForm action examples are available from here: easibase.com/Resources/easiForm_actions_examples_FW4.zip

This download also includes the PHP easiForm, PHP easiCaptcha and Form Element Styler actions along with a Freeway 4 Pro file of 5 form examples…

Form 1: easiForm.

Form 2: easiForm with easiCaptcha (Math version).

Form 3: easiForm with the Form Element Styler action used to style the text fields and text area.

Form 4: easiForm with easiCaptcha and the Form Element Styler action used to style the text fields and text area.

Form 5: easiForm set to advanced (This example does not use the ‘Form Element Styler’ action, but if you want to use it then you can add it to the fields yourself). This form is set to send a confirmation email with a random number as the subject for tracking purposes. This option has also the two strings of http and [url ‘http,[url’ entered as badwords so no emails containing these will be permitted.

These examples use various form elements. text fields, text area, menu, check boxes and radio buttons so if you need to use these elements with easiForm you can see how they might be used and how to enter values if the element requires a value. The only requirement that is needed on the part of the user is to set the ‘Required’ value in the easiForm action window, upload the ioncube folder by ftp to the home folder and upload the examples using Freeway.

The examples are shown without easiCaptcha, with easiCaptcha, without the Form Element Styler action and with the Form Element Styler action… except the easiForm advanced example which does not use the FES action. So if you are using easiForm to process your Freeway form and have not created a form before with easiForm then these examples could be useful.


tutorials mailing list email@hidden Update your subscriptions at: freewaytalk.net/person/options

quote

Freeway, PHP and MySQL examples

www.easibase.com

FreeCounter