<?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[Come passare questi dati]]></title><description><![CDATA[<p dir="auto">Ragazzi,ho un problema ho un form composto cosi'</p>
<pre><code class="language-php">&lt;form name="ciao"&gt;
        &lt;input type=button style="width: auto; font-weight: bold; letter-spacing: -1px; background-color: rgb(223, 229, 241);"value="Configura" onClick="webcam.configure()"&gt;
        &amp;nbsp;&amp;nbsp;
        &lt;input type=button style="width: auto; font-weight: bold; letter-spacing: -1px; background-color: rgb(223, 229, 241);" value="Invia Immagine" onClick="take_snapshot()"&gt;
        &lt;br&gt;&lt;br&gt;&lt;span&gt;
         &lt;img src="edit.gif" alt="autorelink" width="12" align="absbottom" height="12"&gt; &lt;strong&gt;Tuo nome&lt;/strong&gt; &lt;span class="didascalia"&gt;(Inserisci il tuo nome o un nome fantasioso a scelta)&lt;/span&gt;&lt;br&gt; 
        &lt;input id="name"  class="moduli" name="name" type="text" value=""&gt;
    &lt;/form&gt;
    &lt;script language="JavaScript"&gt;
    var personName = document.getElementById('name').value;
webcam.set_api_url('test4.php?name=' + personName);
webcam.set_quality( 90 ); // JPEG quality (1 - 100)
webcam.set_shutter_sound( true ); // play shutter click sound
    &lt;/script&gt;
</code></pre>
<p dir="auto">In pratica devo recuperare il valore che viene scritto qui'</p>
<pre><code class="language-php">&lt;input id="name"  class="moduli" name="name" type="text" value=""&gt;
</code></pre>
<p dir="auto">Questo form punta alla pagina test4.php tramite questa porzione di codice qui'</p>
<pre><code class="language-php">var personName = document.getElementById('name').value;
webcam.set_api_url('test4.php?name=' + personName);
</code></pre>
<p dir="auto">Il problema e che test4.php non mi recupera il valore name,come risolvere?<br />
Nella pagina test.php ho provato a recuperare il valore di name cosi'</p>
<pre><code class="language-php">&lt;?
  //verifico se esiste la variabile id di valore get
if(isset($_GET['name']) OR $_GET['name'] != ""){ 
$nome=$_GET['name']; 

}?&gt;
</code></pre>
]]></description><link>https://dev.connect.gt/topic/149569/come-passare-questi-dati</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 23:15:44 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/149569.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Apr 2011 20:31:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Come passare questi dati on Thu, 14 Apr 2011 11:44:17 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><strong>html5today</strong></p>
<p dir="auto">Non è che hai un altro elemento nella pagina che ha un id "name" ?</p>
</blockquote>
<p dir="auto">No,in pratica mi capita questa cosa strana ,se io nel campo scrivo ad esempio il nome Paolo quando vado ad inviare invece di scrivermi Paolo nel database mi scrive il nome che avevo usato in precedenza esempio Luca,in pratica mi passa sempre il valore che avevo inserito precedentemente nel form...come mai??</p>
]]></description><link>https://dev.connect.gt/post/989843</link><guid isPermaLink="true">https://dev.connect.gt/post/989843</guid><dc:creator><![CDATA[carlitos1982]]></dc:creator><pubDate>Thu, 14 Apr 2011 11:44:17 GMT</pubDate></item><item><title><![CDATA[Reply to Come passare questi dati on Thu, 14 Apr 2011 07:11:27 GMT]]></title><description><![CDATA[<p dir="auto">Non è che hai un altro elemento nella pagina che ha un id "name" ?</p>
]]></description><link>https://dev.connect.gt/post/989834</link><guid isPermaLink="true">https://dev.connect.gt/post/989834</guid><dc:creator><![CDATA[html5today]]></dc:creator><pubDate>Thu, 14 Apr 2011 07:11:27 GMT</pubDate></item></channel></rss>