Copy link to clipboard
Copied
Hi everyone,
I am building a site along with other people and I am the main web designer. I need to know how to have my site automatically create a users profile page when the said user registers on the site. Something very similar to YouTube or MySpace. Example: If a user where to create an account with the username bob678 the site/code would automatically create and directory called examplesite.com/userid/bob678 (like I said before very similar to YouTube). I cant seem to find the answer to this anywhere but I know it is possible. Any and all help is very appreciated!
PS. I already know how to allow people to register, I just need it to create a page for them.
Thanks
Copy link to clipboard
Copied
If you want to actually create a physical directory, then you would call your server side scripting's file system functions. FWIW, many of the site's you've seen probably do not use physical directories. In many cases, the data is saved in a database and the server uses the rewrite engine to make the location more human readable.
Copy link to clipboard
Copied
Ok,
I honestly dont care if it creates an actually directory. All I need is for my site to automatically create profile pages for all registered users.
Thanks