how do I ...

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

I want to create a website ( where people kan get
create an account. The account gives them access to or (if available).

My question is: Can I change the with or
eg. -> or

I hope my question is clear... Maybee I better ask this question to my

Best regards

Re: how do I ...

Well, if you wanted it to be you'd have to setup  
separate hosting and domain registration each time. That's not a very viable  
method. As far as making them get a subdomain, so,  
you'd have to make sure your host allows sub domains, as well as finding any  
additional cost. Also, I don't know of a way you could make this automated  
using PhP at all - Generally, you'd have to go into your Hosting Control  
Panel and manually setup sub domains. This doesn't sound like anything that  
PhP can resolve for you.

Quoted text here. Click to load it

Re: how do I ...

Jon wrote:

Quoted text here. Click to load it

On the whole, I'd say a solution like: would be a lot better.  

It's something that can be done easily and instantly (if that's
desired) with available PHP features. All you have to do is create a
new directory, copy in any base files, and set up some sort of access
control (.htaccess/.htpasswd works for a simple method).

Obviously you may want have an approval step, there are means for doing


Re: how do I ... wrote:
Quoted text here. Click to load it

These are two separate questions.  Let me answer them one at a time.

In order to create a new domain (e.g., you must
register it, which takes a few days to process and involves paying a
fee to a domain registrar.  Additionally, the domain name your user
wants may already be taken.

Creating subdomains (e.g., is in fact very
possible, but you need to be able to change your HTTP server's
configuration file(s), which implies root access privileges.  The
Apache manual has a section on virtual hosting:


Creating sub-domains (Was Re: how do I ...)

Kimmo Laine wrote:
Quoted text here. Click to load it

Unless next_page.php generates PHP, the script with this include will
only get HTML.

Quoted text here. Click to load it


    if (isset($_GET['foo'])) {
      echo '<?php echo $_GET[\'foo\']; ?>';
    } else {
      echo '<?php echo \'Not available\'; ?>';

File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot

Site Timeline