<?xml version="1.0" encoding="iso-8859-1"?><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 for CrankBerry Blog</title>
	<atom:link href="http://www.crankberryblog.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.crankberryblog.com</link>
	<description>Sharing ideas on web design, development and the internet economy</description>
	<lastBuildDate>Tue, 24 Jan 2012 19:43:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Cross Browser Friendly Div Tabs Script by Hielscher Ultrasonics</title>
		<link>http://www.crankberryblog.com/2009/cross-browser-friendly-div-tabs-script/comment-page-1#comment-2679</link>
		<dc:creator>Hielscher Ultrasonics</dc:creator>
		<pubDate>Tue, 24 Jan 2012 19:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=287#comment-2679</guid>
		<description>Nice work, Jerry. You saved my day.</description>
		<content:encoded><![CDATA[<p>Nice work, Jerry. You saved my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secure PHP login without database by Jerry Low</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-2#comment-2653</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Thu, 19 Jan 2012 16:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-2653</guid>
		<description>James,

Basically the script will ensure all your settings are valid before it&#039;ll work. The settings are all in _login_users.php

You have to conform to the comments I have there. And user names can only be alphanumeric with no whitespace (hyphen and underscore is ok).</description>
		<content:encoded><![CDATA[<p>James,</p>
<p>Basically the script will ensure all your settings are valid before it&#039;ll work. The settings are all in _login_users.php</p>
<p>You have to conform to the comments I have there. And user names can only be alphanumeric with no whitespace (hyphen and underscore is ok).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on crankSlider the Jquery DIV and Image Slider Script by Jerry Low</title>
		<link>http://www.crankberryblog.com/2011/crankslider-the-jquery-div-and-image-slider-script/comment-page-1#comment-2652</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Thu, 19 Jan 2012 16:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=501#comment-2652</guid>
		<description>Hey Matt, at the stage its in currently it works. Instead of using the image method use  as your slides instead and post images and absolute position divs inside for text (parent div needs to be relative)</description>
		<content:encoded><![CDATA[<p>Hey Matt, at the stage its in currently it works. Instead of using the image method use  as your slides instead and post images and absolute position divs inside for text (parent div needs to be relative)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on crankSlider the Jquery DIV and Image Slider Script by Matt</title>
		<link>http://www.crankberryblog.com/2011/crankslider-the-jquery-div-and-image-slider-script/comment-page-1#comment-2641</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 15 Jan 2012 07:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=501#comment-2641</guid>
		<description>Thank you! This is perfect for me.
I have a question. Have you thought about adding the option to add text with each image? I use another slider when I need to have text but I like your slider better and would love it if I could use it for those instances too.
Thank you for sharing!</description>
		<content:encoded><![CDATA[<p>Thank you! This is perfect for me.<br />
I have a question. Have you thought about adding the option to add text with each image? I use another slider when I need to have text but I like your slider better and would love it if I could use it for those instances too.<br />
Thank you for sharing!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secure PHP login without database by James</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-2#comment-2618</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 04 Jan 2012 22:04:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-2618</guid>
		<description>Hey I tried to use this, but I can&#039;t seem to figure out how to login , sorry I really don&#039;t feel like having to search this up somewhere else -.-...

Whenever I go to the index.php it tell me that the admin settings are wrong, I know that the code for that is on page _login.php but how to I get a login form?</description>
		<content:encoded><![CDATA[<p>Hey I tried to use this, but I can&#039;t seem to figure out how to login , sorry I really don&#039;t feel like having to search this up somewhere else -.-&#8230;</p>
<p>Whenever I go to the index.php it tell me that the admin settings are wrong, I know that the code for that is on page _login.php but how to I get a login form?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Secure PHP login without database by Alessandro Marinuzzi</title>
		<link>http://www.crankberryblog.com/2009/secure-php-login-without-database/comment-page-2#comment-2397</link>
		<dc:creator>Alessandro Marinuzzi</dc:creator>
		<pubDate>Wed, 14 Dec 2011 09:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=143#comment-2397</guid>
		<description>Hi! Thanks for sharing this great php login tutorial! I have some improvements... in each page that you want to protect add these lines:

&lt;pre lang=&quot;php&quot;&gt;
session_start();
header(&quot;Expires: Mon, 26 Jul 1997 05:00:00 GMT&quot;); #Date in the Past
header(&quot;Last-Modified: &quot; . gmdate(&quot;D, d M Y H:i:s&quot;) . &quot; GMT&quot;); #Always modified
header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;); #HTTP/1.1
header(&quot;Cache-Control: post-check=0, pre-check=0&quot;, false);
header(&quot;Pragma: no-cache&quot;); #HTTP/1.0
require_once(&#039;_login.php&#039;);
if (!$login-&gt;verify_login($key_uid, $key_cid)) {
  header(&quot;Location: login.php&quot;);
  exit();
}
&lt;/pre&gt;

The first five headers avoid that another user that have the same session opened backs to previous page and posts again... the if statement verify if the user has logged in or not

Thanks again!!!</description>
		<content:encoded><![CDATA[<p>Hi! Thanks for sharing this great php login tutorial! I have some improvements&#8230; in each page that you want to protect add these lines:</p>
<pre lang="php">
session_start();
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); #Date in the Past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); #Always modified
header("Cache-Control: no-store, no-cache, must-revalidate"); #HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); #HTTP/1.0
require_once('_login.php');
if (!$login-&gt;verify_login($key_uid, $key_cid)) {
  header("Location: login.php");
  exit();
}
</pre>
<p>The first five headers avoid that another user that have the same session opened backs to previous page and posts again&#8230; the if statement verify if the user has logged in or not</p>
<p>Thanks again!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intalling Sphinx on Wamp localhost (Windows) by tresloukadu</title>
		<link>http://www.crankberryblog.com/2011/intalling-sphinx-on-wamp-localhost-windows/comment-page-1#comment-1979</link>
		<dc:creator>tresloukadu</dc:creator>
		<pubDate>Sat, 26 Nov 2011 18:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=458#comment-1979</guid>
		<description>Wow, thanks for your information, in a way seems more logical, i will keep your approach. I also saw other friend doing the way you do, I asked him why that, and he didnt know how to explain to me.. but you did, thanks for this explanation, now I can note the advantages.</description>
		<content:encoded><![CDATA[<p>Wow, thanks for your information, in a way seems more logical, i will keep your approach. I also saw other friend doing the way you do, I asked him why that, and he didnt know how to explain to me.. but you did, thanks for this explanation, now I can note the advantages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intalling Sphinx on Wamp localhost (Windows) by Jerry Low</title>
		<link>http://www.crankberryblog.com/2011/intalling-sphinx-on-wamp-localhost-windows/comment-page-1#comment-1933</link>
		<dc:creator>Jerry Low</dc:creator>
		<pubDate>Thu, 24 Nov 2011 19:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=458#comment-1933</guid>
		<description>Tresloukadu, 

It may make more sense that way. Here&#039;s a good way to look at it, Sphinx does the hardest part efficiently and accurately for you which is the matching part with out you worrying about the Like, Match or what-so-ever.

By returning just the ID there are a few advantages.

1. Querying by ID is quick and painless because IDs are indexed and unique.
2. By just having the ID you can customize the columns you want to query.

If you had a table with 20 columns (which is not the best practice) sphinx would return all 20 columns, but maybe in your search you only need 5 columns, until the drill down page. You can completely customize it.

3. Making additional joins or unions easier.

I had the same though you did, but after using the system a bit it made sense.

Jerry</description>
		<content:encoded><![CDATA[<p>Tresloukadu, </p>
<p>It may make more sense that way. Here&#039;s a good way to look at it, Sphinx does the hardest part efficiently and accurately for you which is the matching part with out you worrying about the Like, Match or what-so-ever.</p>
<p>By returning just the ID there are a few advantages.</p>
<p>1. Querying by ID is quick and painless because IDs are indexed and unique.<br />
2. By just having the ID you can customize the columns you want to query.</p>
<p>If you had a table with 20 columns (which is not the best practice) sphinx would return all 20 columns, but maybe in your search you only need 5 columns, until the drill down page. You can completely customize it.</p>
<p>3. Making additional joins or unions easier.</p>
<p>I had the same though you did, but after using the system a bit it made sense.</p>
<p>Jerry</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intalling Sphinx on Wamp localhost (Windows) by tresloukadu</title>
		<link>http://www.crankberryblog.com/2011/intalling-sphinx-on-wamp-localhost-windows/comment-page-1#comment-1931</link>
		<dc:creator>tresloukadu</dc:creator>
		<pubDate>Thu, 24 Nov 2011 13:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=458#comment-1931</guid>
		<description>hello, I got the results as you mentioned, it returned jus the id&#039;s. But I didnt understand this part:

&quot;The $result returned will not include the rows and columns of your actual table. &quot;

So you get the id&#039;s and after you do a usual query to mysql... Why that? What is the advantages of this approach? Wouldnt be faster return the wole data from sphinx reather than just the id? Im just wondering why...</description>
		<content:encoded><![CDATA[<p>hello, I got the results as you mentioned, it returned jus the id&#039;s. But I didnt understand this part:</p>
<p>&#034;The $result returned will not include the rows and columns of your actual table. &#034;</p>
<p>So you get the id&#039;s and after you do a usual query to mysql&#8230; Why that? What is the advantages of this approach? Wouldnt be faster return the wole data from sphinx reather than just the id? Im just wondering why&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Intalling Sphinx on Wamp localhost (Windows) by tresloukadu</title>
		<link>http://www.crankberryblog.com/2011/intalling-sphinx-on-wamp-localhost-windows/comment-page-1#comment-1929</link>
		<dc:creator>tresloukadu</dc:creator>
		<pubDate>Thu, 24 Nov 2011 11:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.crankberryblog.com/?p=458#comment-1929</guid>
		<description>Just for people who are gettin the php api running just the first time and after that gettin the error below:

&quot;failed to send client protocol version&quot;.

I found the solution for that in sphinx forum here:

http://sphinxsearch.com/forum/view.html?id=4919

I just changed the line in php script and sphinx started to return my data:

The file sphinxapi.php
replaced by line
if ( !$this-&gt;_Send ( $fp, pack ( &quot;N&quot;, 1 ), 4 ) )
to line
if (fwrite ( $fp, pack ( &quot;N&quot;, 1 ), 4 ) !== 4)

Some people said it was a problem in the version 5.2 of php but it is not. I just don&#039;t know why this issue, because I downloaded the last version from sphinx website. But but is working now.</description>
		<content:encoded><![CDATA[<p>Just for people who are gettin the php api running just the first time and after that gettin the error below:</p>
<p>&#034;failed to send client protocol version&#034;.</p>
<p>I found the solution for that in sphinx forum here:</p>
<p><a href="http://sphinxsearch.com/forum/view.html?id=4919" rel="nofollow">http://sphinxsearch.com/forum/view.html?id=4919</a></p>
<p>I just changed the line in php script and sphinx started to return my data:</p>
<p>The file sphinxapi.php<br />
replaced by line<br />
if ( !$this-&gt;_Send ( $fp, pack ( &#034;N&#034;, 1 ), 4 ) )<br />
to line<br />
if (fwrite ( $fp, pack ( &#034;N&#034;, 1 ), 4 ) !== 4)</p>
<p>Some people said it was a problem in the version 5.2 of php but it is not. I just don&#039;t know why this issue, because I downloaded the last version from sphinx website. But but is working now.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

