wo, is there a way to create subdomains only through a php file ?

like create a function call createsubdomain($username) or something?

that would really be helpful in the sense that as soon as a user registers himself on a website, he gets to access hisname.thewebsite.com to access his full profile

thanks for replues

equatorlounge.wordpress.com

If your webhost allows you to create subdomains through an API, then you can make a php function to execute it.

Or you can use wildcard sub-domain and process the name in php

API and wildcards, hmmm ok
any idea where i need to program on an API, what's the API's name, etc..

i was thinking of a tutorial that would explain how to create subdmains with php;

as for the subdomains, from ipage, i have unlimited amount of subdomains i think, but i'll ask through their chat helpdesk

Quite possible there is a tutorial, but you should know first which method is required (which depends on your host). When you know, you can search for a tutorial.

i'll probably get back to this tomorrow, once i ask my host about that

thanks meanwhile

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.