Jump to content

php error with mattsfm.php (formail)


onehairfatty

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

 

Archived

This topic is now archived and is closed to further replies.

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