View Single Post
  #2  
Old 04-09-2010, 06:19 AM
Gazza is offline Gazza
Registered User

Join Date: Jul 2009
Posts: 9

Hello

I think I have this working correctly now, I'm not sure but I think their a minor error in the script?

I made a minor change in line 199 which currently reads

// Function used to attach files to the message
function phattach($file, $name, $boundary) {

I edited it to read

// Function used to attach files to the message
function phattach($file,$name) {
global $boundary;

It now works fine.

I have a couple more questions; the form does not check to see if there is an attachment; is this possible; I've tried the example on the Board but it doesn't seem to work.

Also is it possible to add Captcha as I was getting some Spam when I originally looked at using this script (V1.5)

Otherwise this is a brilliant php script

Many thanks for any assistance
Reply With Quote