phpearth/docs

Add wildcard subdomains FAQ

Closed this issue · 5 comments

petk commented

Add an FAQ entry about how to use wildcard subdomains, what are they etc. here:
https://github.com/wwphp-fb/php-resources/blob/master/faq/general/wildcard-subdomains.md

Wildcard ? how do make manage dynamic subdomains with PHP?
like auto.domain.com,auto2.domain.com

as the users signup / approved automatic sub domain ?!

petk commented

Yes, there were multiple questions about these - automatic subdomains a.k.a wildcard DNS records *.example.com and how to use them in php etc. So I was thinking about adding this FAQ as well here.

Basic Content added (tested htaccess on domain too)

petk commented

Thanks that is awesome. A bit late reply but I've also chaged PHP code to PDO and prepared statements since mysql_query and other mysql_* functions are deprecated.

oh. Thanks again, I will keep in mind about mysql_* deprecation . :)