<?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">
	<channel>
      <title>Ask a Programming Guru - DotGeek 3.0</title>
      <link>http://dotgeek.org/categories/ask-a-php-guru/feed.rss</link>
      <pubDate>Sat, 25 May 13 19:27:18 -0400</pubDate>
         <description>Ask a Programming Guru - DotGeek 3.0</description>
   <language>en-CA</language>
   <atom:link href="/discussions/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>.htaccess and .htpasswd</title>
      <link>http://dotgeek.org/discussion/102/-htaccess-and-htpasswd</link>
      <pubDate>Tue, 02 Oct 2012 04:43:01 -0400</pubDate>
      <dc:creator>geek</dc:creator>
      <guid isPermaLink="false">102@/discussions</guid>
      <description><![CDATA[How to know the path for AuthUserFile. I want to protect my administrator back-end with a password. But it seems fail because I think the directory is not right...Please help me...Below some sample what I've been doing..<br /><br />.htaccess contents: <br />------------------------ <br />AuthType Basic <br />AuthName "My Protected Area" <br />AuthUserFile ../www/public/private/.htpasswd  (sample)<br />Require valid-user <br />------------------------- <br /><br />.htpasswd contents: <br />------------------------- <br />admin:admin &lt;--- exact line --- No longer encrypted. ]]></description>
   </item>
   <item>
      <title>Bugs on Browse Filter Display</title>
      <link>http://dotgeek.org/discussion/32/bugs-on-browse-filter-display</link>
      <pubDate>Thu, 05 May 2011 16:50:27 -0400</pubDate>
      <dc:creator>Reyes</dc:creator>
      <guid isPermaLink="false">32@/discussions</guid>
      <description><![CDATA[I have a new website that has a display issue that my developer has had issues with for over three months.  I&#039;m not a developer so any assistance would be greatly appreciated.  The problem is that my filter selections for searching members do not hold once I start to move from page to page.  For instance, I select all members between the age of 19 to 36, that are from alabama, and drink., then I select a specific way to display these members and press submit.  The request is granted and maybe I get four pages of members.  However, once I go from page one to page 2 or page 3 and so on, eventually the display format selected reverts back to the original default display of that page.  How can this issue be resolved?  Any advice would be greatly appreciated.  Thanks.:face-smile:]]></description>
   </item>
   <item>
      <title>Generated button click counter</title>
      <link>http://dotgeek.org/discussion/26/generated-button-click-counter</link>
      <pubDate>Mon, 02 Feb 2009 08:58:55 -0500</pubDate>
      <dc:creator>paligron</dc:creator>
      <guid isPermaLink="false">26@/discussions</guid>
      <description><![CDATA[Hi all,<br />
I am new at PHP and would like some assistance on this. <br />
<br />
I am trying to create a button that when clicked, counts the number of the clicks an individual makes and saves those clicks on a mySQL db. This has been easy for me. The hard bit follows:<br />
<br />
say there are 5 people on the page with the button, and they all click on the button. I would like those clicks registered individually, in an incrementing manner. For example, if person 1 clicks, his click is registered under his session/profile as &#039;click 1&#039;. The second person to make the click is registered under his session as &#039;click 2&#039; and so on....<br />
<br />
How should I go about this? Any help will be highly appreciated.]]></description>
   </item>
   <item>
      <title>url is stripped of some characters</title>
      <link>http://dotgeek.org/discussion/22/url-is-stripped-of-some-characters</link>
      <pubDate>Mon, 29 Oct 2007 00:13:38 -0400</pubDate>
      <dc:creator>geografree</dc:creator>
      <guid isPermaLink="false">22@/discussions</guid>
      <description><![CDATA[Hi, I have a mapping program that searches and returns property information. When a property is selected, it returns all the known information including zoning, Id, acres, etc.<br />
<br />
I&#039;m trying to fix a lookup script that returns a url for the specific zone that is listed. I do this via php lookup file. However, the link that is returned is different than the one I put in the php lookup file. For example, <br />
<br />
http://www.amlegal.com/nxt/gateway.dll?f=templates$fn=altmain-nf-contents.htm$cp=California%2Fgridley_ca$tt=altmain-nf.htm$3.0<br />
<br />
is returned as <br />
http://www.amlegal.com/nxt/gateway.dll?f=templates=altmain-nf-contents.htm=California%2Fgridley_ca=altmain-nf.htm$3.0<br />
<br />
The $fn and $cp is stripped out generating a 404-type page error.  Is there a better way to set the url in php so that it is strictly read? <br />
<br />
Thanks.]]></description>
   </item>
   <item>
      <title>XML Character encoding detection using PHP4</title>
      <link>http://dotgeek.org/discussion/21/xml-character-encoding-detection-using-php4</link>
      <pubDate>Tue, 16 Oct 2007 09:25:10 -0400</pubDate>
      <dc:creator>jatin</dc:creator>
      <guid isPermaLink="false">21@/discussions</guid>
      <description><![CDATA[	<p>Hello :face-smile: ,<br />
I have a application that takes xml and throws out some formatted html.<br />
Now, I want to restrict users xml whose encoding is utf-16 due to <br />
various reasons. How to I check if the encoding of a document is utf-16<br />
using <span class="caps">PHP</span> 4. If not possible in PHP4 are there any unix &#8220;in built&#8221; utlities<br />
like iconv / xmllint that can be used from php to check the same.<br />
Also, I don&#8217;t want to rely on the &#8220;encoding=&#8221;  that the user puts in his<br />
xml.</p>

]]></description>
   </item>
   </channel>
</rss>