10-01-2008, 05:13 PM
|
#2 (permalink)
|
|
The Contributor
Join Date: Sep 2008
Posts: 36
Thanks: 2
|
well, you can do it a clean way or a messy way
The messy way:
just use GET to call user.php?user=username
the clean way, do the above step, and mess with the .htaccess using RewriteRule to make it get rid of the "user.php?username=". you can do this by creating a .htaccess file and throwing this in there:
RewriteEngine on
Options +FollowSymLinks
RewriteRule user/(.*)/ user.php?username=$1
if you would like to see this working, take a look at my test page I put up to make sure the rewrite rule worked correctly. You can edit the name by changing the address bar.
Hope this helps
__________________
Jason Corradino
Applications Developer, Interactive Support - Tribune Technology
J2EE Development, Script Tinkering - Develop, Support, and Maintain Tribune websites.
Last edited by jcorradino : 10-01-2008 at 06:44 PM.
|
|
|
|