Jump to content

Recommended Posts

the problem i have is that I get the following error with matts formail.php (http://www.mattsscripts.co.uk/): Parse error: syntax error, unexpected T_VARIABLE in ..........line 103.

 

line 103 is: $email_format = '

line 104 is: Here is the result of your feedback form, sent @ <$senttime>

 

what is wrong

 

 

many thanks

Link to comment
https://forums.phpfreaks.com/topic/83364-php-error-with-mattsfmphp-formail/
Share on other sites

Hi, thanks for your help.  I hope this is what you need.  I aplogise if I get to do things incorrectly as I am a newbiee with PHP code.

 

lines 100-118 =

 

PATH => Environment shell execution path (eg /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin)

*/

 

$email_format = '

Here is the result of your feedback form, sent @ <$senttime>

 

<$all_vars>

 

I\'m redirecting them to <$redirect> right now...

 

--- User information

Browser: <$HTTP_USER_AGENT>

Remote Host: <$REMOTE_HOST> <$REMOTE_ADDR>

---

 

Powered by Matt FM, it\'s free, so please feel free to use it -Matt

Available at http://www.mattsscripts.co.uk/mattfm.htm

 

'; //////////////// THIS LINE IS THE END OF THE EMAIL ////////////////

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.