Jump to content

Recommended Posts

Hello ,

I am new to PHP and this forum. I am trying to figure out how to create a database and PHP script to auto create a webpage. I don't know the proper name for it. 

I want each user/member to register on my home page and then they will have a webpage created(copied/cloned) and displayed to them that will have a special link ,so they can advertise the services. An example would be: www.indemandcareer.com as the main site and www.indemandcareer.com/?hop=cedpeete as the member site. Do you have or know where a tutorial is on how to do this? Or the proper name for this is called so I can search for a tutorial. I created the webpage , just trying to figure out the clone /member page duplication process. Any advice would be helpful.

 

Thanks,
Ced

Link to comment
https://forums.phpfreaks.com/topic/302142-php-script-clone-member-page/
Share on other sites

Literally duplicating the web application for every new user is a very bad idea. Not only does this waste a lot of space; you'll also get into deep trouble when you have to update the code, because now you have to update every single instance – and if one of the instances has departed from the original code, you're in merge hell.

 

PHP can render web content dynamically, and that's exactly what you want to do in this case: You have a single application with multiple users; every user has their own personal data, so the application can display individual web pages.

 

In any case, I strongly recommend you learn PHP before trying to implement a complex project like this. You need to actually know what you're doing if you want this to be a success (no, there's no step-by-step tutorial).

Edited by Jacques1
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.