Page 1 of 1

creating subdomains using PHP

Posted: Fri Oct 31, 2003 12:27 am
by Mr. Tech
Is it possible to create a subdomain using php? Even if it just uses a frame or something...

Anyone know of some code or a script?

Thanks

Posted: Fri Oct 31, 2003 8:49 pm
by BDKR
Domains and sub domains aren't really a php thing. However, the creation of a sub domain can be controlled by a php script. Once you understand the process of how the sub domain is created, script that process in PHP.

Cheers,
BDKR

Posted: Fri Oct 31, 2003 10:16 pm
by Mr. Tech
I've worked it out.

You need a wildcard DNS to do it.