Forum Moderators: coopster
First step, the user will register. He will put in Username, Password, Address, Email and etc..
Then, once he registers,
It will create a unique page for him on my domain name.
For example, if the user puts akhello1 as his username,
PHP will create a page on mydomain.com/akhello1.
and it will display all his details at mydomain.com/akhello1
Any idea how to go about this ?
Thanks so so much for the kind advice and help.
I appreciate it a lot!
Thanks guys!
There are a number of ways to approach this and my advice would be to really read up on on this is done, security implications etc. before you plunge in and go live with your server and applications.
The Apache documentation might be a good place for you to start reading about user directories.
You have to design a script where when a user signs up a new entry is made into the mysql database. Then make a new script and call it say blah.php. In that script use $_GET[] to get some variable from the URL like the user id. Then when someone visits that page you would get the data from mysql and display something from it.
Using htaccess you could mask the url so instead of example.com/blah.php?id=1 it could be example.com/1.html etc.