Hi there - I'm rapidly running out of hair to pull, so please, pretty please, pretty please with chocolate on top, help.
First, I can't implement fmbadhandler.php - when I tried it I received the error "URL open failed: fopen(http://www.microsoft.com) [function.fopen]: failed to open stream: no suitable wrapper could be found
So, I've tried the sampleerrortemplate.htm (located in a templatedir) after adding the necessary statement to the form:
and defining the templatedir in formmail.php
<input type="hidden" name="good_url" value="http://www.castlefarmbandb.co.uk/emailtemplates/emailthanks.shtml" />
<input type="hidden" name="bad_url" value="http://www.castlefarmbandb.co.uk/emailtemplates/sampleerrortemplate.html" />
The sampleerrortemplate.htm is displayed after a user error - but the error fields
$TEMPLATEDIR = "http://www.castlefarmbandb.co.uk/emailtemplates";
are not being populated when the page is displayed.
<p>This is a list of items in error:</p>
What am I missing here?
Thanks - Phil.