Jump to content

Recommended Posts

Posted (edited)

I spent all day yesterday rewriting the code from scratch. Why? It needed it...bad.

 

The older versions were based on the code of others that I serious hacked and improved... but you could tell it was held together with scotch tape. Don't get me wrong, the code worked... but with TCH going to SMTP... and just to clean the darn thing up and do it RIGHT... I started over from scratch.

 

The result is my first shot at OOP (Object Oriented Programming) and I think it's a major improvement.

 

First, it uses SMTP to send the autoreply and the webmaster info.

 

Second, it gives a ton of feedback if you set the testing variable on.

 

Third, because it is a class, it should be easier to add bells and whistles to the code moving forward.

 

Fourth, the code will soon give you the ability to send html emails and track your statistics (I doubt that one will be free... but maybe)

 

Fifth, I've tested the code with the error reporting turned all the way up so the code should be very clean. In fact, the error reporting in the final product is all the way up so I know it's clean.

 

Sixth, it should work with globals turned off or on, safemode turned off or on. None of this matters to TCH members. But it matters to me since 2,800 people have downloaded it in just a few weeks.

 

One thing that's missing in this version is the file upload for attachments. If you need that functionality... then stick with version 1.7 for now. I'm rewriting the attachment code and I'm hoping to do it in a way that's a little more secure.

 

I'm sure 2.0 Beta isn't perfect.. but it should be much easier to use and TCH members definitely shouldn't have much trouble with it.

 

You can download it here

 

And please give it a positive rating if you like what it does

Edited by TCH-Jack
Posted

Way to go Jack.

As you know I use your script(v1.7) in a couple of different areas of my site and it works great. I do need the file upload for attachments part so for now I'll stay with 1.7 but its good to know an upgrade is in the works. 1.7 will be hard to beat,it does about everything but bring you a cup of coffee, so I'm in no hurry to change.

Posted

New options I forgot to mention

  • You can set up a form with drop down selection for recipient... without giving away their email addy in the code!
  • Date submitted is on form and is easily customized
  • You can send a receipt to the visitor with the info they sent you

  • 4 weeks later...
Posted

I tried the latest version of UFM. These are the steps that I have done to use my form:

1.Edit my mailit.php

2.Upload to a folder

3.Test contact.php

4.Submit the form

 

I received this error message:

 

The file /home/amirhol/public_html/Form/class.UFMail.php has been encoded with the ionCube PHP Encoder and requires the free ionCube PHP Loader to be installed.

 

5.I clicked on ionCubePHP Loader

 

sends me to this link:

 

http://www.ioncube.com/loader_download.php?m=1

 

Now, I don’t know where the problem is :dance: . If you have any idea please help me.

 

Thank you,

Amir.

Posted

yep. I would prefer to answer your request over there... only because it makes it easier for others to learn from the feedback. Lots of folks using the script aren't at TCH (fools) and so I try to answer everything over there.

 

Thanks.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...