Hi,
It sounds like you might have made a typographical error when changing the value.
Can you send me your formmail.php (the one that doesn't work) to supportstaff AT tectite DOT com?
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Hi this is a great form but i am having a few errors after i tried to output to html template
the first error was parse error in d:\inetpub\wwwroot\formmail.php on line 1374
and 1400
I changet to template url option rather than dir and those errors stoped
but this one appeared
a session had already been started-ingoring session_statr() in d:\inetpub\wwwroot\formmail.php on line 834
any ideas on how to fix this
system specs=
server - iis5
php ver 4.3.9
the basic idea of what i am tring to do is to show the user their selections
after the form is submitted and the recive thoes results in an html email
so it is easier to read .also want to note that form worked perfect untill i tried to do this
Hi,
It sounds like you might have made a typographical error when changing the value.
Can you send me your formmail.php (the one that doesn't work) to supportstaff AT tectite DOT com?
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
sent file this morning along with the html template and the page that is serving the form
Hi,
We haven't received the files. Please check the email address you sent them to.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi,
Thanks, got the files.
You've confused the configuration of $TEMPLATEDIR and $TEMPLATEURL in formmail.php.
$TEMPLATEDIR is for a directory (file access) and $TEMPLATEURL is for a URL (web access).
You've set $TEMPLATEDIR to a URL, and that's going to break everything.
I recommend you go back to the original FormMail download or put the values back the way they were.
Then, decide if you want to use web access or file access to get to your templates. If you want file access, set $TEMPLATEDIR to the full path name to the template directory. It will start like "d:/path/to" on windows.
If you want web access, use "http://yoursite.com/path/to/templatedirectory" to set $TEMPLATEURL.
Let me know if you need further assistance.
Last edited by russellr; 25-Nov-2004 at 07:12 AM.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Thanks the errors are gone and im getting my form submissions .
which brings me to the next problem some ov the values wont post
on the htm template for the user thet show up on my email
but not the user side not sure if it is the form page or formmail that is causing the problem ill attach the files maybe you can see where the error is
Hi,
You can't use blanks in field names. Blanks are actually against the HTML standard, though browsers seem to allow it.
Blanks in field names definitely stop PHP from working properly.
Last edited by russellr; 01-Dec-2004 at 09:44 PM.
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
I took out the spaces and all works perfect Thank You for all your help.
However, The field names need to be spaced to be
1.readable and 2. professional looking
Is there a way on the html output that the user views and the email sent
to put the spaces back in?
(I didnt design the original form so the field nameing options wer'nt mine
but now that its done that is what they have to be)
Hi,
For a "thank you" page, you can use create a template that shows the user anything you want to show them. It's described here: http://www.tectite.com/vbforums/showthread.php?t=194
It's the "good_template" feature you want. There's a sample form and sample template you can download.
For the email, you can use HTML templates or plain text templates. Plain templates are described here: http://www.tectite.com/fmhowto/plaintmplt.php
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks