<?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[Inserire codice in diverse pagine]]></title><description><![CDATA[<p dir="auto">Ciao a tutti, dovrei inserire un codice di tracciamento in tutte le pagine denominate index.html nel mio sito web, che oltre nella root principale si trovano anche in diverse sottocartelle.<br />
C'è un maniera per farlo in automatico?</p>
]]></description><link>https://dev.connect.gt/topic/218080/inserire-codice-in-diverse-pagine</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 21:44:41 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/218080.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 12 Oct 2015 09:32:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Inserire codice in diverse pagine on Tue, 20 Oct 2015 08:26:36 GMT]]></title><description><![CDATA[<p dir="auto">Probabilmente dovresti provare a fare uno script php che legge le cartelle, e se individua un file index.html<br />
fa un "append" di una stringa.</p>
<p dir="auto">Es:<br />
<a href="http://php.net/manual/en/function.file-put-contents.php" rel="nofollow ugc">php.net/manual/en/function.file-put-contents.php</a></p>
<pre><code class="language-php">&lt;?php
$file = 'people.txt';
$current = file_get_contents($file);
$current .= "John Smith\n";
file_put_contents($file, $current);
?&gt;
</code></pre>
<p dir="auto">Questo vale se questi index.html sono tutti vuoti (si dà per scontato tu sia in ambiente php dove gl index.htl servono SOLO per prevenire la lettura dei files)</p>
]]></description><link>https://dev.connect.gt/post/1209214</link><guid isPermaLink="true">https://dev.connect.gt/post/1209214</guid><dc:creator><![CDATA[artigiani.del.web]]></dc:creator><pubDate>Tue, 20 Oct 2015 08:26:36 GMT</pubDate></item><item><title><![CDATA[Reply to Inserire codice in diverse pagine on Mon, 12 Oct 2015 18:58:36 GMT]]></title><description><![CDATA[<p dir="auto">Deve essere per forza html la pagina o anche php?<br />
Senno forse con il JQUERY + metodo LOAD?</p>
]]></description><link>https://dev.connect.gt/post/1209209</link><guid isPermaLink="true">https://dev.connect.gt/post/1209209</guid><dc:creator><![CDATA[marcocarrieri]]></dc:creator><pubDate>Mon, 12 Oct 2015 18:58:36 GMT</pubDate></item></channel></rss>