Start with a full path - its safer.I don't think the log file is written to if there's an error in the form.U should fix the error first.
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Type: Posts; User: crabtree
Start with a full path - its safer.I don't think the log file is written to if there's an error in the form.U should fix the error first.
It sounds like PHP is not setup correctly on the serverSpecifically, the session handling sounds broken.
ok, i missed it the first time
u have two "derive_fields" fields. html doesn't allow that.
join the two values together with a comma and only have one derive_fields field. it doesn't matter...
it looks fine....
maybe ur new server doesn't provide these values to formmail
ask ur host wot u need to do to get $_SERVER['REMOTE_ADDR'], etc., to work:...
u don't actually have any $fieldnames in ur template - so ur not grabbing any field values and putting them in the template
in any case, i think u have a broken server
its probly ur new server not formatting emails right
try these settings to workaround broken servers:
http://www.tectite.com/fmdoc/body_lf.php
http://www.tectite.com/fmdoc/head_crlf.php
u can't have an empty From header....ur server will always add one
u can use mail_options FromAddr to set the address u want
sounds v strange...
wot's the URL to ur form and to ur template file?
500 seems low - formmail has a setting called MAXSTRING which defaults to 1024
if that's not it, make sure ur HTML <form> tag specifies method="POST"
relative paths are fine if u fully understand wot is happening
images and css and stuff are loaded by the browser. a relative path in ur HTML is relative to the URL shown in the browser address...
well, i don't know for sure, but i don't think so.
u can always go back to ur previous version and see if it's different - and if it is, then u can track down why
so, ur getting a successful form submission but receiving no email, sometimes?
conclusion: faulty spam filter.
either disable ur spam filter (u might not be able to coz some ISPs have broken...
that error is a worry - might be session problems.
yeah, PM me the link and include the URL to ur second page template so i can check that too
it should have a slash at the end for security
so, ur first page must define "this_form" using a hidden field
on ur second and other pages u need:
<input type="hidden" name="this_form"...
yeah, i'm lazy.
u want radio buttons not checkboxes. a set of checkboxes is multuiple fields (so that won't work). a set of radios is one field.
<input type="radio" name="next_form"...
did u read the doco?
http://www.tectite.com/fmdoc/target_urls.php
it's a security thing. just put the URL to ur website and everything under that is acceptable
step 1: learn about multipage forms by creating a simple one
step 2: re-read my reply and it will make sense to u
with email, u can never guarnatee anything 100%
u must use fmbadhandler - it provides a back button that works
if the user hits the back button in the browser toolbar, everything breaks. ...
so the next page is controlled by a field called "next_form"
all u have to do is set that to wot u want based on the answers
if the answer is a drop down list (select tag), just make the name...
yep, that's an alert message to help u debug any problems
it's not form results.
check this config setting:
http://www.tectite.com/fmdoc/alert_on_user_error.php
i guess u could write a filter to do this.
but u can also use formmail to store the dasta in a CSV file:
http://www.tectite.com/fmhowto/csvfiles.php
u need to write some additional php code and hook it into formmail's processing.
the code can use formmail's own functions, but u ned to be a programemr to do this
why not contact tectite and...
yep, u remove the "subject" hidden field from ur HTML and then use "derive_fields" to create the one u want:
http://www.tectite.com/fmhowto/derived.php
this will get u started:
<input...
formmail reads the template files and then fills in the details
when u use TEMPLATEURL for dynamic templates (like u must have) it puts the session ID in the URL
ur host must have changed the...
u don't usually get a form results email if u get an alert
so, wot does the alert say?