Jump to content

User Profile with user name extension.. Help Need


vamsig

Recommended Posts

It is possible to register User. The present script i have will take care of change in name, email address and sex. That is fine.

 

Now I need to show the user Profile as Open profile Like.

 

http://localhost/userscript/registerduser1

http://localhost/userscript/registerduser2

http://localhost/userscript/registerduser3

 

Above userscript is my local folder wher the script is located

registereduser1 is the name of the registered user Profile.

 

I need like above.

 

for example www.myspace.com/registerduser1

 

Thanking you in advanse

 

Link to comment
Share on other sites

It's not the PHP you need to do. You use Mod Rewrite in a .htaccess folder.

 

I'm not that good with .htaccess myself, but I will modify what I have on my website for you.

 

Create a .htaccess file and put it in the root directory of your website.

 

Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteRule ^([^/\.]+)?$ /userscript/registerduser1/$1 [L]

 

If it doesn't work, play around and see what you can get.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.