<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1027918" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1027918</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/random-picture#comment-1165581</link>
    <description> &lt;p&gt;You mean the following jibberish?&lt;br /&gt;
= &amp;#65418;&amp;#65433;&amp;#65378;.,\&amp;#63729;,T&amp;#38763;&amp;#65416;%0E&amp;#65316;?J&amp;#65387;&amp;#65420;-;&quot;&amp;#65404;{i&amp;#35460;&amp;#23273;-SA/&amp;#65427;&amp;#65400;W&amp;#12539;V&amp;#65382;&amp;#65427;&amp;#65384;&amp;#12539;&amp;#22995;&amp;#31805;&amp;#34809; &amp;#32163;#U&amp;#65425;N&amp;#65397;&amp;#65422;&amp;#65392;&amp;#65407;]5&amp;#34184;&lt;/p&gt;
&lt;p&gt;What that script is doing is opening the actual image file, and writing all the data into the browser, and the browser should read it, BUT you should add&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;&amp;nbsp; header(&amp;quot;Content-Type: image/jpg&amp;quot;);&lt;br /&gt;&amp;nbsp; $randval = rand(1,4); // generate a number from 1 to 4&lt;br /&gt;&amp;nbsp; $fname = &amp;quot;limo-0&amp;quot; . $randval . &amp;quot;.jpg&amp;quot;;&lt;br /&gt;&amp;nbsp; $fp = fopen ($fname, &amp;quot;r&amp;quot;);&lt;br /&gt;&amp;nbsp; while (!feof ($fp)) echo fgetc($fp);&lt;br /&gt;&amp;nbsp; fclose($fp);&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Mon, 07 Feb 2005 05:01:28 +0000</pubDate>
 <dc:creator>CptAwesome</dc:creator>
 <guid isPermaLink="false">comment 1165581 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/random-picture#comment-1165547</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;Greg K wrote:&lt;/strong&gt; You can use a script to do this, either Client Side (via javascript) or Server Side. See &lt;a href=&quot;http://209.68.38.102/limo/randpic.php&quot; class=&quot;bb-url&quot;&gt;http://209.68.38.102/limo/randpic.php&lt;/a&gt; for a script I wrote that lets &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Greg, something wrong with that file.&lt;/p&gt;
 </description>
     <pubDate>Sun, 06 Feb 2005 12:43:23 +0000</pubDate>
 <dc:creator>ValleyPages</dc:creator>
 <guid isPermaLink="false">comment 1165547 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/random-picture#comment-1165148</link>
    <description> &lt;p&gt;or if you don&#039;t have php... here&#039;s a javascript version:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script language=&amp;quot;JavaScript&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;function random_imglink(){&lt;br /&gt;var myimages=new Array()&lt;br /&gt;//specify random images below. You can have as many as you wish&lt;br /&gt;myimages[1]=&amp;quot;image1.gif&amp;quot;&lt;br /&gt;myimages[2]=&amp;quot;image2.gif&amp;quot;&lt;br /&gt;myimages[3]=&amp;quot;image3.gif&amp;quot;&lt;br /&gt;myimages[4]=&amp;quot;image4.gif&amp;quot;&lt;br /&gt;myimages[5]=&amp;quot;image5.gif&amp;quot;&lt;br /&gt;myimages[6]=&amp;quot;image6.gif&amp;quot;&lt;br /&gt;&lt;br /&gt;var ry=Math.floor(Math.random()*myimages.length)&lt;br /&gt;if (ry==0)&lt;br /&gt;ry=1&lt;br /&gt;document.write(&amp;#039;&amp;lt;img src=&amp;quot;&amp;#039;+myimages[ry]+&amp;#039;&amp;quot; border=0&amp;gt;&amp;#039;)&lt;br /&gt;}&lt;br /&gt;random_imglink()&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Simply place it in your HTML anywhere between the body tags and update the image links in the array where prompted.&lt;/p&gt;
 </description>
     <pubDate>Sun, 30 Jan 2005 23:50:00 +0000</pubDate>
 <dc:creator>andy206uk</dc:creator>
 <guid isPermaLink="false">comment 1165148 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/random-picture#comment-1165095</link>
    <description> &lt;p&gt;You can use a script to do this, either Client Side (via javascript) or Server Side. See &lt;a href=&quot;http://209.68.38.102/limo/randpic.php&quot; class=&quot;bb-url&quot;&gt;http://209.68.38.102/limo/randpic.php&lt;/a&gt; for a script I wrote that lets me have changing icons in another forum I frequest.&lt;/p&gt;
&lt;p&gt;The code for the PHP one is:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;?&lt;br /&gt;&lt;br /&gt;&amp;nbsp; $randval = rand(1,4); // generate a number from 1 to 4&lt;br /&gt;&amp;nbsp; $fname = &amp;quot;limo-0&amp;quot; . $randval . &amp;quot;.jpg&amp;quot;;&lt;br /&gt;&amp;nbsp; $fp = fopen ($fname, &amp;quot;r&amp;quot;);&lt;br /&gt;&amp;nbsp; while (!feof ($fp)) echo fgetc($fp);&lt;br /&gt;&amp;nbsp; fclose($fp);&lt;br /&gt;?&amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;I have this code in a directory (limo) and also have 4 images in there, limo-01.jpg, limo-02.jpg, limo-03.jpg and limo-04.jpg.&lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Sat, 29 Jan 2005 19:46:08 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1165095 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
