Link to home
Create AccountLog in
Avatar of voteg
voteg

asked on

How to create a create a profile page?

My web page allows user to have their own progile page. Currently, the profile page is something like that:

htttp://www.mywebpage.com/user.php?p=123456

I would like to create a profile page like:
htttp://www.mywebpage.com/userpage

where userpage is the name selected by the userpage

I am using PHP and MYSQL. The users table has a file name userpage which should be used to open the profile page.

How can I implement this solution?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of designsevolved
designsevolved
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of voteg
voteg

ASKER

I have locally created the .htaccess file in my localhost (windows).

However, when I introduce something in the .htaccess file (e.g: ErrorDocument 404 /404.html) the entire site crashes (Server Error, Error 500).

If the .htacess file is empty everything work OK. I have tried suggestions from Google but but nothing worked OK.

Give me your sugesstions.
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of voteg

ASKER

do not force people to answer A and give answers to everything. You should provide answers.