Results:
It did not work for me.
The page in question is hosted on Godaddy. Some of the content is cached by cloudflare. The cache was completely purged and disabled. The page was viewed with Firefox in private mode.
Added to top-level .htaccess:
# set your server to parse php within html.
#
https://encodable.com/parse_html_files_as_php/
# begin displays all the PHP code ("echo", etc)
# AddHandler x-httpd-php .html .htm
# AddType application/x-httpd-php .htm
# end displays all the PHP code ("echo", etc)
# begin prompts me to choose "What should Firefox do with this file?"
# AddHandler php-script .php .html .htm
# AddHandler php5-script .php .html .htm
# AddType application/x-httpd-php .html
# end prompts me to choose "What should Firefox do with this file?"
Used in my form:
<div class="fb-input-box">
<input name="item79REFERENCE2" id="item79" type="text" maxlength="254"
placeholder="" autocomplete="off" data-hint="" value="<?php echo $_SERVER['HTTP_USER_AGENT'];?>" />
</div>
Results: See .htaccess above. Nothing worked.
The objective:
Get the user agent info into the email notification sent from my form. Your info has nothing to do with getting the user agent info into the email notification but I like it so I might use it for something else if I can get it to work.