D-Man22
29-10-2008, 02:11 PM
Hey!
As y'all may know, i'm working on a new social network renamed to Friendzle.
but I need everyones profile to be http://friendzle.com/username and I heard u needed .htaccess for it...
This is the code i scurrveyed up:
RewriteEngine On
RewriteRule ^/profile([^\./]+)$ profile.php?user=$1I'm not sure if I did it right...
When they do that I am using $_GET[user] and attaching it a database query.... should it work? I havent tried it yet :D.
As y'all may know, i'm working on a new social network renamed to Friendzle.
but I need everyones profile to be http://friendzle.com/username and I heard u needed .htaccess for it...
This is the code i scurrveyed up:
RewriteEngine On
RewriteRule ^/profile([^\./]+)$ profile.php?user=$1I'm not sure if I did it right...
When they do that I am using $_GET[user] and attaching it a database query.... should it work? I havent tried it yet :D.