<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: random quotes with PHP</title>
	<atom:link href="http://www.3till7.net/2005/06/08/random-quotes-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/</link>
	<description>Programming, espresso, and grumbling.</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:27:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ill-fated</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-356697</link>
		<dc:creator>ill-fated</dc:creator>
		<pubDate>Sun, 13 Sep 2009 09:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-356697</guid>
		<description>can you explain the code to me?

i am a complete newbie in php so mind explaining this to me line by line? whats $quotes srand double macrotime etc etc..

desperately needing your help..thanks..</description>
		<content:encoded><![CDATA[<p>can you explain the code to me?</p>
<p>i am a complete newbie in php so mind explaining this to me line by line? whats $quotes srand double macrotime etc etc..</p>
<p>desperately needing your help..thanks..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Oscar Cortez</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-262384</link>
		<dc:creator>Oscar Cortez</dc:creator>
		<pubDate>Thu, 03 Jul 2008 04:11:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-262384</guid>
		<description>This is a great script.

One problem I noticed that could caused the php to throw back an error ... when you copy and paste, depending on your text-editor, it might paste the &quot; around the txt file reference incorrectly ... as right-angle quotes instead of just straight-quotes.

Thanks!</description>
		<content:encoded><![CDATA[<p>This is a great script.</p>
<p>One problem I noticed that could caused the php to throw back an error &#8230; when you copy and paste, depending on your text-editor, it might paste the &#8221; around the txt file reference incorrectly &#8230; as right-angle quotes instead of just straight-quotes.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-230485</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Thu, 21 Feb 2008 14:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-230485</guid>
		<description>Tim:  the random quotes file should be a plain text file (ending in .txt) with one quote per line.  You can put that quotes file anywhere on your site.  In your PHP script, you&#039;ll need to specify the full path (not URL, but path on your server) to your quotes file, so something like /home/tim/my_site/quotes.txt</description>
		<content:encoded><![CDATA[<p>Tim:  the random quotes file should be a plain text file (ending in .txt) with one quote per line.  You can put that quotes file anywhere on your site.  In your PHP script, you&#8217;ll need to specify the full path (not URL, but path on your server) to your quotes file, so something like /home/tim/my_site/quotes.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-230387</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Thu, 21 Feb 2008 05:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-230387</guid>
		<description>I have copied and pasted as per the pages, But it don&#039;t work. What format should the location of the file be. Relative to the random files or relative to the site?</description>
		<content:encoded><![CDATA[<p>I have copied and pasted as per the pages, But it don&#8217;t work. What format should the location of the file be. Relative to the random files or relative to the site?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christina</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-198958</link>
		<dc:creator>Christina</dc:creator>
		<pubDate>Tue, 30 Oct 2007 03:38:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-198958</guid>
		<description>For some reason I&#039;m getting all the quotes on the same page, and not one random one. I copied your code exactly, I didn&#039;t alter it at all. Do you maybe know what the problem is? If you do and you can help me, please e-mail me about it. :D

Thank you for this code though! It was a great help. ;)</description>
		<content:encoded><![CDATA[<p>For some reason I&#8217;m getting all the quotes on the same page, and not one random one. I copied your code exactly, I didn&#8217;t alter it at all. Do you maybe know what the problem is? If you do and you can help me, please e-mail me about it. :D</p>
<p>Thank you for this code though! It was a great help. ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CJ Pruitt</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-1384</link>
		<dc:creator>CJ Pruitt</dc:creator>
		<pubDate>Tue, 11 Oct 2005 17:10:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-1384</guid>
		<description>That actually seems to be the best explanation I&#039;ve gotten for the random quote... you&#039;re so awesome!</description>
		<content:encoded><![CDATA[<p>That actually seems to be the best explanation I&#8217;ve gotten for the random quote&#8230; you&#8217;re so awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trinity</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-1120</link>
		<dc:creator>Trinity</dc:creator>
		<pubDate>Thu, 09 Jun 2005 20:57:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-1120</guid>
		<description>This has nothing to do with this entry, but I love the new style!</description>
		<content:encoded><![CDATA[<p>This has nothing to do with this entry, but I love the new style!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jem</title>
		<link>http://www.3till7.net/2005/06/08/random-quotes-with-php/comment-page-1/#comment-1119</link>
		<dc:creator>Jem</dc:creator>
		<pubDate>Thu, 09 Jun 2005 12:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.3till7.net/?p=871#comment-1119</guid>
		<description>I wrote something very similar a while ago for showing random images/quotes (it&#039;s super basic)..

$max = count($quote);
$count = rand(1,$max);

(and then obviously put the quotes in an array.) 

I remember trying to do this with JavaScript last year and to me at the time it seemed much more complex. I love PHP, it is my friend.</description>
		<content:encoded><![CDATA[<p>I wrote something very similar a while ago for showing random images/quotes (it&#8217;s super basic)..</p>
<p>$max = count($quote);<br />
$count = rand(1,$max);</p>
<p>(and then obviously put the quotes in an array.) </p>
<p>I remember trying to do this with JavaScript last year and to me at the time it seemed much more complex. I love PHP, it is my friend.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

