<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1025246" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1025246</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/randon-number-generation-ad-network#comment-1154385</link>
    <description> &lt;p&gt;You could definatly do it with PHP, just have php generate the random number (whatever length you want) and insert it into the javascript code where you need it&lt;/p&gt;
&lt;p&gt;ie&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;$num &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;= &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;rand&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;([&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;min value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;], [&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;max value&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]);&lt;br /&gt;&lt;br /&gt; echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$rand&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt; &lt;/p&gt;
&lt;p&gt;The &amp;lt;? echo $rand; ?&amp;gt; could be inserted into your actual javascript code.&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;
 </description>
     <pubDate>Sat, 03 Jul 2004 03:13:42 +0000</pubDate>
 <dc:creator>cmonkey</dc:creator>
 <guid isPermaLink="false">comment 1154385 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
