<?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 for sam j levy</title>
	<atom:link href="http://samjlevy.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://samjlevy.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 14:32:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on PHP login script using LDAP, verify group membership by sam</title>
		<link>http://samjlevy.com/2010/09/php-login-script-using-ldap-verify-group-membership/comment-page-1/#comment-5237</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 06 Feb 2012 14:32:32 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=613#comment-5237</guid>
		<description>Since everyone&#039;s AD setup is different, there&#039;s no way to provide an &#039;out-of-the-box&#039; working example

You should be able to select and copy the code for the two files, clicking the magnifying glass icon might make it easier</description>
		<content:encoded><![CDATA[<p>Since everyone&#8217;s AD setup is different, there&#8217;s no way to provide an &#8216;out-of-the-box&#8217; working example</p>
<p>You should be able to select and copy the code for the two files, clicking the magnifying glass icon might make it easier</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP login script using LDAP, verify group membership by simon</title>
		<link>http://samjlevy.com/2010/09/php-login-script-using-ldap-verify-group-membership/comment-page-1/#comment-5236</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Mon, 06 Feb 2012 14:20:00 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=613#comment-5236</guid>
		<description>Hi 

Do you have these scripts available to download as a working &quot;Kit&quot; ?

Cheers
Simon</description>
		<content:encoded><![CDATA[<p>Hi </p>
<p>Do you have these scripts available to download as a working &#8220;Kit&#8221; ?</p>
<p>Cheers<br />
Simon</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Levenshtein and Damerau-Levenshtein UDF&#8217;s by sam</title>
		<link>http://samjlevy.com/2011/03/mysql-levenshtein-and-damerau-levenshtein-udfs/comment-page-1/#comment-5219</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Wed, 01 Feb 2012 20:59:37 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=1077#comment-5219</guid>
		<description>Glad you got it working
Thanks for the comment, I&#039;m sure it will help someone else with CentOS</description>
		<content:encoded><![CDATA[<p>Glad you got it working<br />
Thanks for the comment, I&#8217;m sure it will help someone else with CentOS</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on MySQL Levenshtein and Damerau-Levenshtein UDF&#8217;s by Jon</title>
		<link>http://samjlevy.com/2011/03/mysql-levenshtein-and-damerau-levenshtein-udfs/comment-page-1/#comment-5218</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 01 Feb 2012 20:13:51 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=1077#comment-5218</guid>
		<description>Great post, just had to do some fuzzy searching and I used your help to compile and install UDF on my CentOS 5.x box. Here is the compile string I used on my 64 bit CentOS box.


g++ -fPIC -I /usr/include/mysql/ -o levenshtein.so -shared levenshtein.cc
cp levenshtein.so /usr/lib64/mysql/plugin/

Then from within mysql I installed the plugin.
mysql&gt; CREATE FUNCTION levenshtein RETURNS INTEGER SONAME &#039;levenshtein.so&#039;;</description>
		<content:encoded><![CDATA[<p>Great post, just had to do some fuzzy searching and I used your help to compile and install UDF on my CentOS 5.x box. Here is the compile string I used on my 64 bit CentOS box.</p>
<p>g++ -fPIC -I /usr/include/mysql/ -o levenshtein.so -shared levenshtein.cc<br />
cp levenshtein.so /usr/lib64/mysql/plugin/</p>
<p>Then from within mysql I installed the plugin.<br />
mysql&gt; CREATE FUNCTION levenshtein RETURNS INTEGER SONAME &#8216;levenshtein.so&#8217;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PS3 Slim popping/cracking case noise by Ray</title>
		<link>http://samjlevy.com/2010/04/ps3-slim-poppingcracking-case-noise/comment-page-1/#comment-5152</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Wed, 18 Jan 2012 05:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=450#comment-5152</guid>
		<description>mine MINE DOES IT TO BUY ITS NOT THE PLASTIC ITS INTERNAL &amp; IT IMMEDIATELY KICKS THE FAN TO HIGH AFTER IT POPS, ITS A MALFUNCTION &amp; SONY CANT HELP &amp; THEY CANT TELL YOU WHY FOR LEGAL REASONS. SCAMMERS!!!</description>
		<content:encoded><![CDATA[<p>mine MINE DOES IT TO BUY ITS NOT THE PLASTIC ITS INTERNAL &amp; IT IMMEDIATELY KICKS THE FAN TO HIGH AFTER IT POPS, ITS A MALFUNCTION &amp; SONY CANT HELP &amp; THEY CANT TELL YOU WHY FOR LEGAL REASONS. SCAMMERS!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use PHP and LDAP to list members of an Active Directory group by sam</title>
		<link>http://samjlevy.com/2011/02/using-php-and-ldap-to-list-of-members-of-an-active-directory-group/comment-page-1/#comment-5107</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 09 Jan 2012 14:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=920#comment-5107</guid>
		<description>You should be able to tweak the LDAP query to get a list of groups

Try something like (objectcategory=group)(samaccountname=*)</description>
		<content:encoded><![CDATA[<p>You should be able to tweak the LDAP query to get a list of groups</p>
<p>Try something like (objectcategory=group)(samaccountname=*)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Use PHP and LDAP to list members of an Active Directory group by vikram</title>
		<link>http://samjlevy.com/2011/02/using-php-and-ldap-to-list-of-members-of-an-active-directory-group/comment-page-1/#comment-5106</link>
		<dc:creator>vikram</dc:creator>
		<pubDate>Mon, 09 Jan 2012 11:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=920#comment-5106</guid>
		<description>Is there is any way i can get the list of all the groups of all the ou&#039;s with PHP</description>
		<content:encoded><![CDATA[<p>Is there is any way i can get the list of all the groups of all the ou&#8217;s with PHP</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Foscam Cameras: Scheduling Reboots, Brightness Changes, etc. by Ray</title>
		<link>http://samjlevy.com/2011/06/foscam-cameras-scheduling-reboots-brightness-changes-etc/comment-page-1/#comment-4920</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Tue, 20 Dec 2011 14:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=1292#comment-4920</guid>
		<description>Fantastic write-up.  Very detailed, and informative.  I got this working first try, thanks to this article.  Very cool!</description>
		<content:encoded><![CDATA[<p>Fantastic write-up.  Very detailed, and informative.  I got this working first try, thanks to this article.  Very cool!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP login script using LDAP, verify group membership by sam</title>
		<link>http://samjlevy.com/2010/09/php-login-script-using-ldap-verify-group-membership/comment-page-1/#comment-4711</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Tue, 29 Nov 2011 20:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://samjlevy.com/?p=613#comment-4711</guid>
		<description>$_SESSION variables will carry over to any page within the PHP installation&#039;s scope - just make sure session_start(); is at the top of the page

You should probably create a config.php with session_start(); in it

Then include(&#039;config.php&#039;); at the top of login.php (above authenticate.php) and at the top of index.php

&lt;strong&gt;config.php&lt;/strong&gt;
&lt;pre lang=&quot;php&quot;&gt;
session_start();
&lt;/pre&gt;

&lt;strong&gt;index.php&lt;/strong&gt;
&lt;pre lang=&quot;php&quot;&gt;
&lt;?php
include(&#039;config.php&#039;);

if($_SESSION[&#039;access&#039;]==&quot;2&quot; ) {
     echo&#039; WebManagers – page for the administrator&#039;;
}
if($_SESSION[&#039;access&#039;]==&quot;1&quot; ) {
     echo&#039; WebUsers – page for the users &#039;;
}
?&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>$_SESSION variables will carry over to any page within the PHP installation&#8217;s scope &#8211; just make sure session_start(); is at the top of the page</p>
<p>You should probably create a config.php with session_start(); in it</p>
<p>Then include(&#8216;config.php&#8217;); at the top of login.php (above authenticate.php) and at the top of index.php</p>
<p><strong>config.php</strong></p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"><table class="php"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
</pre></td><td class="de1"><pre class="de1"><span class="kw3">session_start</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div><div class="bwp-syntax-source"><pre class="no-parse">session_start();</pre></div></div>

<p><strong>index.php</strong></p>

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"><table class="php"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
</pre></td><td class="de1"><pre class="de1"><span class="sy0">&lt;</span> ?php
<span class="kw1">include</span><span class="br0">&#40;</span><span class="st_h">'config.php'</span><span class="br0">&#41;</span><span class="sy0">;</span>
&nbsp;
<span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$_SESSION</span><span class="br0">&#91;</span><span class="st_h">'access'</span><span class="br0">&#93;</span><span class="sy0">==</span><span class="st0">&quot;2&quot;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp;<span class="kw1">echo</span><span class="st_h">' WebManagers – page for the administrator'</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="kw1">if</span><span class="br0">&#40;</span><span class="re0">$_SESSION</span><span class="br0">&#91;</span><span class="st_h">'access'</span><span class="br0">&#93;</span><span class="sy0">==</span><span class="st0">&quot;1&quot;</span> <span class="br0">&#41;</span> <span class="br0">&#123;</span>
&nbsp; &nbsp; &nbsp;<span class="kw1">echo</span><span class="st_h">' WebUsers – page for the users '</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
<span class="sy1">?&gt;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div><div class="bwp-syntax-source"><pre class="no-parse">&lt; ?php
include('config.php');

if($_SESSION['access']=="2" ) {
     echo' WebManagers – page for the administrator';
}
if($_SESSION['access']=="1" ) {
     echo' WebUsers – page for the users ';
}
?&gt;</pre></div></div>

]]></content:encoded>
	</item>
</channel>
</rss>

