problem in decoding htaccess url rewrite values
<p>i have written a code in .htaccess</p>

<pre><code>RewriteEngine on
RewriteRule ^category-search/(.*)$ category-search.php?cat_id=$1
</code></pre>

<p>and my current URL is</p>

<p>www.mydomain.com/category-search/=NA==</p>

<p>Last values (=NA==) is encoded in base64_encode.
But when i m trying to fetch this values in php like...</p>

<pre><code>$val=mysql_real_escape_string(base64_decode($_REQUEST['cat_id']));
</code></pre>

<p>I am getting $val equal to nothing. What is error behind this ?</p>

<p>When i was not rewrite in htaccess this was working well.</p>
