Take the 2-minute tour ×  I'd like to ask a simple question
about .htaccess. I have a form from index.html, and would like
to pass a value to receiver.php. How do you configure .htaccess
to output http://localhost/demo/receiver/jibberish instead of
http://localhost/demo/receiver.php?fid=jibberish?   <form
method="get" action="receiver.php">   FID <input type="text"
name="fid" value="jibberish"> <br>     echo $_GET['fid'];  I'm
having a hard time. Here is my .htaccess code.  <IfModule
mod_rewrite.c> RewriteEngine on RewriteBase / RewriteCond
%{DOCUMENT_ROOT}/$1 -f RewriteRule ^/receiver.php$
/receiver.php?fid=$1 [PT] share|improve this question It is not
clear what you want. I guess it is about showing a "pretty" URL
without queries, like /receiver/jibberish, instead of
receiver.php?fid=$1 with the query, but still map silently the
last one to the resource (receiver.php). If that's the case, it
is possible, but what group is $1 back reference pointing to and
why are you using PT flag? That flag is implied in p