<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Code The World — Random image]]></title>
		<link>https://codetheworld.com/viewtopic.php?id=3</link>
		<atom:link href="https://codetheworld.com/extern.php?action=feed&amp;tid=3&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Random image.]]></description>
		<lastBuildDate>Sun, 15 Jun 2008 02:43:32 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Random image]]></title>
			<link>https://codetheworld.com/viewtopic.php?pid=22#p22</link>
			<description><![CDATA[<p>i doubt you could randomly scroll through the images with a mouse roll-over, though ajax might allow this.</p>]]></description>
			<author><![CDATA[null@example.com (spacesblaster)]]></author>
			<pubDate>Sun, 15 Jun 2008 02:43:32 +0000</pubDate>
			<guid>https://codetheworld.com/viewtopic.php?pid=22#p22</guid>
		</item>
		<item>
			<title><![CDATA[Re: Random image]]></title>
			<link>https://codetheworld.com/viewtopic.php?pid=21#p21</link>
			<description><![CDATA[<p>Can the random image be set to change with a mouse roll-over?</p>]]></description>
			<author><![CDATA[null@example.com (hotaussie)]]></author>
			<pubDate>Sun, 15 Jun 2008 02:42:22 +0000</pubDate>
			<guid>https://codetheworld.com/viewtopic.php?pid=21#p21</guid>
		</item>
		<item>
			<title><![CDATA[Random image]]></title>
			<link>https://codetheworld.com/viewtopic.php?pid=3#p3</link>
			<description><![CDATA[<p>Description<br />Displays a random image on a web page. Images are selected from a folder of your choice.</p><p>The code<br /></p><div class="codebox"><pre><code>&lt;?php

/*
 * Name your images 1.jpg, 2.jpg etc.
 *
 * Add this line to your page where you want the images to 
 * appear: &lt;?php include &quot;randomimage.php&quot;; ?&gt;
 */ 

// Change this to the total number of images in the folder
$total = &quot;11&quot;;

// Change to the type of files to use eg. .jpg or .gif
$file_type = &quot;.jpg&quot;;

// Change to the location of the folder containing the images
$image_folder = &quot;images/random&quot;;

// You do not need to edit below this line

$start = &quot;1&quot;;

$random = mt_rand($start, $total);

$image_name = $random . $file_type;

echo &quot;&lt;img src=\&quot;$image_folder/$image_name\&quot; alt=\&quot;$image_name\&quot; /&gt;&quot;;

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Casper)]]></author>
			<pubDate>Thu, 20 Dec 2007 07:23:48 +0000</pubDate>
			<guid>https://codetheworld.com/viewtopic.php?pid=3#p3</guid>
		</item>
	</channel>
</rss>
