<?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: Htpasswd protection library for Code Igniter</title>
	<atom:link href="http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=htpasswd-protection-library-for-code-igniter</link>
	<description>The everyday sharing of Emran Hasan on software development.</description>
	<lastBuildDate>Mon, 02 Apr 2012 13:35:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Agencja interaktywna</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-126</link>
		<dc:creator>Agencja interaktywna</dc:creator>
		<pubDate>Thu, 16 Sep 2010 18:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-126</guid>
		<description>Thank&#039;s This is perfect. I long time search function like this.


THANK YOU

Best regards from Poland
Mark</description>
		<content:encoded><![CDATA[<p>Thank&#8217;s This is perfect. I long time search function like this.</p>
<p>THANK YOU</p>
<p>Best regards from Poland<br />
Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emran Hasan</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-125</link>
		<dc:creator>Emran Hasan</dc:creator>
		<pubDate>Wed, 03 Sep 2008 08:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-125</guid>
		<description>@Sanjeev: This library will actually check user authenticity using .htaccess method, so login.php would not be needed.

After a successful subscription through your registration form OR admin panel, take an array of all the valid users from DB and use the class to create the .htaccess file for the folder.

Also, when a subscription is over, OR an user is deleted from admin panel, do the same to update the .htacess file.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>@Sanjeev: This library will actually check user authenticity using .htaccess method, so login.php would not be needed.</p>
<p>After a successful subscription through your registration form OR admin panel, take an array of all the valid users from DB and use the class to create the .htaccess file for the folder.</p>
<p>Also, when a subscription is over, OR an user is deleted from admin panel, do the same to update the .htacess file.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjeev</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-124</link>
		<dc:creator>Sanjeev</dc:creator>
		<pubDate>Wed, 03 Sep 2008 08:25:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-124</guid>
		<description>I am creating a subscription site for my client, on successful login authentication user will access the subscribed page. Here the user gets authenticated form /subscribe/login.php and accessing page is in /accessfolder/page.html. Now how to check the user is authenticated (using login.php). dont want to use any auth.php or script. it should be happen using the .htaccess or .htpasswd</description>
		<content:encoded><![CDATA[<p>I am creating a subscription site for my client, on successful login authentication user will access the subscribed page. Here the user gets authenticated form /subscribe/login.php and accessing page is in /accessfolder/page.html. Now how to check the user is authenticated (using login.php). dont want to use any auth.php or script. it should be happen using the .htaccess or .htpasswd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpfour</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-119</link>
		<dc:creator>phpfour</dc:creator>
		<pubDate>Sun, 19 Aug 2007 09:36:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-119</guid>
		<description>Hasan,

Study is almost done...final exams of the last sems remaining and then the internship.

Company is doing well by the grace of Almighty. We&#039;re working with cool, new stuffs and discovering new things every now &amp; then. And our 2nd recruitment is going on, possibly new team will start from Oct 1.

Will come to swi next week, will meet then. Take care!</description>
		<content:encoded><![CDATA[<p>Hasan,</p>
<p>Study is almost done&#8230;final exams of the last sems remaining and then the internship.</p>
<p>Company is doing well by the grace of Almighty. We&#8217;re working with cool, new stuffs and discovering new things every now &amp; then. And our 2nd recruitment is going on, possibly new team will start from Oct 1.</p>
<p>Will come to swi next week, will meet then. Take care!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nhm tanveer hossain khan (hasan)</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-120</link>
		<dc:creator>nhm tanveer hossain khan (hasan)</dc:creator>
		<pubDate>Sun, 19 Aug 2007 09:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-120</guid>
		<description>hi emran bhai,
thank you for mentioning about the Code Ignitor specific convention. i didn&#039;t know that, how is going everything ? how is going study and new company ???

hope will c you soon.

best wishes,</description>
		<content:encoded><![CDATA[<p>hi emran bhai,<br />
thank you for mentioning about the Code Ignitor specific convention. i didn&#8217;t know that, how is going everything ? how is going study and new company ???</p>
<p>hope will c you soon.</p>
<p>best wishes,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpfour</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-122</link>
		<dc:creator>phpfour</dc:creator>
		<pubDate>Sat, 18 Aug 2007 10:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-122</guid>
		<description>Hello Hasan,

Thanks for your suggestions ! I will keep the @author thing in mind for future use.

Regarding the controller name, Code Igniter requires writing controller name without the Controller suffix, as this becomes a part of the url:

http://www.domain.com/protect/index

Thanks for your comments, its been long you&#039;ve visited my blog :)

Cheers!</description>
		<content:encoded><![CDATA[<p>Hello Hasan,</p>
<p>Thanks for your suggestions ! I will keep the @author thing in mind for future use.</p>
<p>Regarding the controller name, Code Igniter requires writing controller name without the Controller suffix, as this becomes a part of the url:</p>
<p><a href="http://www.domain.com/protect/index" rel="nofollow">http://www.domain.com/protect/index</a></p>
<p>Thanks for your comments, its been long you&#8217;ve visited my blog <img src='http://phpfour.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nhm tanveer hossain khan (hasan)</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-121</link>
		<dc:creator>nhm tanveer hossain khan (hasan)</dc:creator>
		<pubDate>Sat, 18 Aug 2007 09:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-121</guid>
		<description>oh by the way,
you don&#039;t need to put @author tag with every function :)

instead try once on the top class level.</description>
		<content:encoded><![CDATA[<p>oh by the way,<br />
you don&#8217;t need to put @author tag with every function <img src='http://phpfour.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>instead try once on the top class level.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nhm tanveer hossain khan (hasan)</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-123</link>
		<dc:creator>nhm tanveer hossain khan (hasan)</dc:creator>
		<pubDate>Sat, 18 Aug 2007 09:52:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-123</guid>
		<description>hi bro,
nice to see you continuing your blog :)

just a small tip -
&quot;class Protect extends Controller&quot;
as i can see your &quot;Protect&quot; class  has extended &quot;Controller&quot;

so you should name like this -
&quot;ProtectedController&quot;
or &quot;SecureController&quot;
or &quot;AuthenticateController&quot;

hope that will be in help.

best wishes,</description>
		<content:encoded><![CDATA[<p>hi bro,<br />
nice to see you continuing your blog <img src='http://phpfour.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>just a small tip -<br />
&#8220;class Protect extends Controller&#8221;<br />
as i can see your &#8220;Protect&#8221; class  has extended &#8220;Controller&#8221;</p>
<p>so you should name like this -<br />
&#8220;ProtectedController&#8221;<br />
or &#8220;SecureController&#8221;<br />
or &#8220;AuthenticateController&#8221;</p>
<p>hope that will be in help.</p>
<p>best wishes,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phpfour</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-115</link>
		<dc:creator>phpfour</dc:creator>
		<pubDate>Tue, 24 Jul 2007 14:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-115</guid>
		<description>Hello Mr. Saidur,

Thanks for your reply. I&#039;ve just found the problem - while Code Igniter loads any library, it puts the name in small case. So, instead of calling $this-&gt;AuthHtpasswd-&gt;protect(..), please call $this-&gt;authhtpasswd-&gt;protect(..).

I have made change to the code and re-uploaded it.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello Mr. Saidur,</p>
<p>Thanks for your reply. I&#8217;ve just found the problem &#8211; while Code Igniter loads any library, it puts the name in small case. So, instead of calling $this-&gt;AuthHtpasswd-&gt;protect(..), please call $this-&gt;authhtpasswd-&gt;protect(..).</p>
<p>I have made change to the code and re-uploaded it.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saidur Rahman</title>
		<link>http://phpfour.com/blog/2007/07/htpasswd-protection-library-for-code-igniter/#comment-114</link>
		<dc:creator>Saidur Rahman</dc:creator>
		<pubDate>Tue, 24 Jul 2007 13:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.phpfour.com/blog/2007/07/23/htpasswd-protection-library-for-code-igniter/#comment-114</guid>
		<description>This example and article is very nice. However i get a problem when i run the code in the line  $this-&gt;AuthHtpasswd-&gt;protect(.....)
but i check the $this-&gt;load-&gt;library(&#039;AuthHtpasswd&#039;);
is ok . But i do not know why it gets error. However to check your example i try it different way $auth=new AuthHtpasswd();
and it works. but i know it must be work , in the way done. Can u   tell me what type mistake may be i have done to run your script.
Thanks
http://saidur.wordpress.com</description>
		<content:encoded><![CDATA[<p>This example and article is very nice. However i get a problem when i run the code in the line  $this-&gt;AuthHtpasswd-&gt;protect(&#8230;..)<br />
but i check the $this-&gt;load-&gt;library(&#8216;AuthHtpasswd&#8217;);<br />
is ok . But i do not know why it gets error. However to check your example i try it different way $auth=new AuthHtpasswd();<br />
and it works. but i know it must be work , in the way done. Can u   tell me what type mistake may be i have done to run your script.<br />
Thanks<br />
<a href="http://saidur.wordpress.com" rel="nofollow">http://saidur.wordpress.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: phpfour.com @ 2012-05-17 18:34:07 -->
