Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Create pages for users when they register

Featured Replies

Hello!

What was intended to do something like:

A site that allows users to create their own website. There is something standard, and when you register you are associated with a folder with the files from the website and a database. how can I do this?

 

Thank you!

Hello!

 

What was intended to do something like:

A site that allows users to create their own website. There is something standard, and when you register you are associated with a folder with the files from the website and a database. how can I do this?

 

Thank you!

If your asking the question you prob should'nt be doing it. There is a lot that goes in a site like that and not one explaination from me or someone else is going to really help matters

  • Author

I explained myself wrong!

What I want to do is the following:

There is a website with simple pages, but when a user registers, it has its own pages. And the address for the page itself would be:

site.com/username

I explained myself wrong!

What I want to do is the following:

There is a website with simple pages, but when a user registers, it has its own pages. And the address for the page itself would be:

site.com/username

U mean a profile page? having where they can create their own website is way different then a user simply having their own profile page

  • Author

I forgot the concept of creating a website in a website is very vague!

 

I've been researching and the best will be to create a page by default! And with the "get" method to ask for the username.

site.com/userpage.php?username

 

But now the question is how can this url look like this?

site.com/username

 

Convert: "/userpage.php?username" to "/username"

You still asking a huge question, i went through this last year when i first started studying php and programming... Simple truth its not that easy

 

You have alot of studying to do before you make a dynamic site that makes use of a get variable.

 

1) You have to design and connect correctly to a database

 

2) you have to create the webpage

 

3) you have to create the right form or on submit button that leads to "that page"

 

4) "that page" has to call the on the database with a (for example) while function, that calls an array if certain if and if else (or case or else conditions) are meant

to ensure the user is who they say they are

 

5) "that page" calls on the get (the get function you mentioned is on of five methods i am aware of that will call the user information (get, post, session, cookies, sql call..)

 

6) The information from the get (or whatever) then renders information from the database (or file or folder) that you put into "that page" and that renders a dynamic page

 

 

 

This is a simplified brief of what happens... Very simple and there are errors in what i say, so i could explain it to someone who needs to walk before they run
I know what i am talking about i was where you were a year ago

If you want to run before you walk follow the link below, i still havn't found anyone who explains better than adam, online and for free.

 

But as its been pointed out, if your asking this question your not ready.

 

http://www.developphp.com/list_php_video.php#How_to_Build_a_Social_Network_Website

the question is how can this url look like this?

 

site.com/username

Convert: "/userpage.php?username" to "/username"

 

You will need to add a mod_rewrite rule to your .htaccess file. It looks more complicated than it actually is. There are various online tutorials which will explain the concept and technique.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.