hi to all
I want to create a personal url for every user registered. Once the user registered then I will dynamically create a folder respectively. My goal of this is, if every user I will create their own folder so they could upload and download their files.
example
user register : john_cruz
his personal url is
http://www.example.com/john_cruz
any suggestions would greatly appreciated.
thanks in advance
Tirso
personal url
Moderator: General Moderators
Re: personal url
When they register, use the mkdir function.
-
mattpointblank
- Forum Contributor
- Posts: 304
- Joined: Tue Dec 23, 2008 6:29 am
Re: personal url
You don't have to actually create a folder, you can just use apache's URL rewriting in a .htaccess file to give the illusion they have a folder - site.com/john could actually map to site.com/users.php?username=john