<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Inviare un form per email recuperando alcune variabili da un file htm]]></title><description><![CDATA[<p dir="auto">Salve, vorrei fare dei miglioramenti per il mio quiz a risposte multiple. Ovvero:</p>
<ol>
<li>il file "quiz_storia.htm" ha le seguenti variabili: nomeUtente (dove l'utente scrive il suo nome) e denaro (la vincita).</li>
<li>al termine del quiz vorrei che la pagina inviasse tramite un form (di quelli che si trovano in rete gratis - al punto 4 il codice) le due citate informazioni insieme al nome del file (ovvero "quiz_storia.htm - questo perchè ho diversi tipi di quiz), alla data ed al tempo che l'utente ha impiegato a terminare il quiz.</li>
<li>Inoltre vorrei che queste informazioni me le copiasse su un file che si trova sotto la stessa directory e che si chiama "quiz_storia_classifica.htm".</li>
<li>Il codice del form è il seguente:</li>
</ol>
<pre><code>&lt;link rel="shortcut icon" href=".emailmeform.com/builder/favicon.ico" /&gt;
&lt;link rel="stylesheet" type="text/css" href=".emailmeform.com/builder/styles/dynamic.php?t=post" /&gt;
&lt;script type="text/javascript" src=".emailmeform.com/builder/js/dynamic.php?t=post&amp;t2=0"&gt;&lt;/script&gt;
&lt;div style="color:red;font-weight:bold;"&gt;&lt;/div&gt;
&lt;form id="emf-form" enctype="multipart/form-data" method="post" action=".emailmeform.com/builder/form/o2RaufgH890BeLla1nQcf"&gt;
&lt;table style="text-align:left;" cellpadding="2" cellspacing="0" border="0" bgcolor="#FFFFFF"&gt;
&lt;tr&gt;
&lt;td style="" colspan="2"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b style="font-size:20px;"&gt;Punteggio automatico&lt;/b&gt;&lt;br /&gt;&lt;label style="font-size:15px;"&gt;Invia il tuo punteggio al webmaster.&lt;br /&gt;&lt;/label&gt;&lt;br /&gt;&lt;/font&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td style="" align="left"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b&gt;Data&lt;/b&gt;&lt;/font&gt;&lt;span style="color:red;"&gt;&lt;small&gt;*&lt;/small&gt;&lt;/span&gt;
&lt;/td&gt;
&lt;td style=""&gt;&lt;input id="element_0" name="element_0" value="" size="30" class="validate[required]" type="text" /&gt;&lt;div style="padding-bottom:8px;color:#000000;"&gt;&lt;small&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&lt;/small&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td style="" align="left"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b&gt;Nome&lt;/b&gt;&lt;/font&gt;&lt;span style="color:red;"&gt;&lt;small&gt;*&lt;/small&gt;&lt;/span&gt;
&lt;/td&gt;
&lt;td style=""&gt;&lt;input id="element_1" name="element_1" value="" size="30" class="validate[required]" type="text" /&gt;&lt;div style="padding-bottom:8px;color:#000000;"&gt;&lt;small&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&lt;/small&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td style="" align="left"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b&gt;Tempo impiegato&lt;/b&gt;&lt;/font&gt;&lt;span style="color:red;"&gt;&lt;small&gt;*&lt;/small&gt;&lt;/span&gt;
&lt;/td&gt;
&lt;td style=""&gt;&lt;input id="element_2" name="element_2" value="" size="30" class="validate[required]" type="text" /&gt;&lt;div style="padding-bottom:8px;color:#000000;"&gt;&lt;small&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&lt;/small&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td style="" align="left"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b&gt;Nome file&lt;/b&gt;&lt;/font&gt;&lt;span style="color:red;"&gt;&lt;small&gt;*&lt;/small&gt;&lt;/span&gt;
&lt;/td&gt;
&lt;td style=""&gt;&lt;input id="element_3" name="element_3" value="" size="30" class="validate[required]" type="text" /&gt;&lt;div style="padding-bottom:8px;color:#000000;"&gt;&lt;small&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&lt;/small&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr valign="top"&gt;
&lt;td style="" align="left"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;&lt;b&gt;Punteggio&lt;/b&gt;&lt;/font&gt;&lt;span style="color:red;"&gt;&lt;small&gt;*&lt;/small&gt;&lt;/span&gt;
&lt;/td&gt;
&lt;td style=""&gt;&lt;input id="element_4" name="element_4" value="" size="30" class="validate[required]" type="text" /&gt;&lt;div style="padding-bottom:8px;color:#000000;"&gt;&lt;small&gt;&lt;font face="Verdana"&gt;&lt;/font&gt;&lt;/small&gt;&lt;/div&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="2" align="left"&gt;&lt;input name="element_counts" value="5" type="hidden" /&gt;&lt;input  value="Invia" type="submit" /&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;/form&gt;
&lt;script type="text/javascript"&gt;
$('body').append('&lt;div&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;Powered by&lt;/font&gt;&lt;span style="position: relative; padding-left: 3px; bottom: -5px;"&gt;&lt;img src=".emailmeform.com/builder/images/footer-logo.png" /&gt;&lt;/span&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;EMF &lt;/font&gt;&lt;a style="text-decoration:none;" href=".emailmeform.com" target="_blank"&gt;&lt;font face="Verdana" size="2" color="#000000"&gt;PHP Form&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;')
&lt;/script&gt;
&lt;script type="text/javascript"&gt;
$(function(){$("#emf-form").validationEngine({validationEventTriggers:"blur",scroll:false});$('.datepicker').datepicker({showOn: 'button',buttonImage: base_url+'images/calendar.png',buttonImageOnly: true,onSelect: function(dateText, inst) {var selectedDate = new Date(dateText);$('#'+inst.id+'year').val(selectedDate.getFullYear()).trigger('blur');$('#'+inst.id+'year-mm').val(((selectedDate.getMonth()+1)&gt;9)?(selectedDate.getMonth()+1):('0'+(selectedDate.getMonth()+1))).trigger('blur');$('#'+inst.id+'year-dd').val(selectedDate.getDate()&gt;9?selectedDate.getDate():'0'+selectedDate.getDate()).trigger('blur');},changeMonth: true,changeYear: true});if(document.getElementById('captcha_image')!=null){get_valid_captcha();}});if(document.getElementById('captcha_image')!=null){var isSafari = (/Safari/.test(navigator.userAgent));var firstTimeSession = 0;function process_captcha(){$('a#captcha_code_refresh').trigger('click');get_valid_captcha();}function safari_submit_session_form() {if (firstTimeSession == 0) {firstTimeSession = 1;$("#safari_sessionform").submit();setTimeout('process_captcha()',2000);}}if(isSafari){$("body").append('&lt;iframe id="safari_sessionframe" name="safari_sessionframe" onload="safari_submit_session_form();" src=".emailmeform.com/get_safari_cookies.php" style="display:none;"&gt;&lt;/iframe&gt;&lt;form id="safari_sessionform" enctype="application/x-www-form-urlencoded" action=".emailmeform.com/get_safari_cookies.php" target="safari_sessionframe" action="post"&gt;&lt;/form&gt;');}}
&lt;/script&gt;
</code></pre>
<p dir="auto">Come posso fare per spedire le informazioni in questo form?</p>
<p dir="auto">Grazie Ubamongi</p>
]]></description><link>https://dev.connect.gt/topic/134757/inviare-un-form-per-email-recuperando-alcune-variabili-da-un-file-htm</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 06:24:16 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/134757.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Sep 2010 23:19:39 GMT</pubDate><ttl>60</ttl></channel></rss>