I have been googling and stackoverflowing, but I couldn't seem to find any answer as people have the exact opposite problem. I have .htaccess:
RewriteRule ^tag/([^/]+)/?$ index.php?tag=$1 [QSA,L]
RewriteRule ^w/([^/]+)?$ w.php?post=$1 [QSA,L]
And php code:
$unique = $_GET["post"];
followed by a mySQL query and more php code. The problem I am facing here is that no matter if I use *.com/w/AAAAAA or *.com/w/aaaaaa, the outcome is the same. The script will find AAAAAA in the database and display the post. Is there a way of making all this case sensitive?