Hi,
Yes, you first derive a field from the env. var.
See "Obtaining server values" in this HOW TO guide: http://www.tectite.com/fmhowto/derived.php
Welcome to the Tectite Forums! You can download and get support for our free PHP FormMail (form processor) and other free software.
Is there a way I can put the env_report in a comma dilemed template doc? Like when I use env_report it just puts it in the form. But I would like to create a comma dilemed template and call the IP address in it with a $something here. Thanks
Hi,
Yes, you first derive a field from the env. var.
See "Obtaining server values" in this HOW TO guide: http://www.tectite.com/fmhowto/derived.php
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
So would i make a hidden field like this:
<input type="hidden" name="derive_fields" value="env_report= IP" />
and then on the template call $IP ?
Hi,
Some more info...
To generate a CSV file containing field values, create a Plain Template and attach it to the form results email.
Here is the HOW TO guide:And my last post on this thread tells you how to attach it using the "null" filter:
Russell Robinson - Author of Tectite FormMail and FormMailDecoder
http://www.tectite.com/
Hi,
Almost right. This is what the HOW TO guide shows:
So would i make a hidden field like this:
<input type="hidden" name="derive_fields" value="env_report= IP" />
and then on the template call $IP ?
Then in the template you simply refer to the field you've derived with "$ipaddr".Code:<input type="hidden" name="derive_fields" value="ipaddr=REMOTE_ADDR" />
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