Hey, i want to make like homo.com
where it loads the string entered in STRING.domain.com
How can i do that?
where it loads the string entered in STRING.domain.com
How can i do that?
|
PHP
Load string from string.domain.com ? |
|
As for getting multiple sub directories (ex: http://example.name.homo.com), here's the way I would approach it:
PHP Code That should do it - the -2 should remove the "domain.com" at the end and just get the subdomain(s). :)
Use get on the local domain, to redirect -> subdomain.
PHP Code redirect.php?redirect=Nathan Should link to: http://Nathan.yoursite.com/ |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [PHP] by Linux.Dec 26, 2012 11:31 AM | 30 | 469 |
Dec 26, 2012 11:31 AM Last Post: Linux. |
| [PHP] by Webman.ioSep 12, 2012 07:40 AM | 6 | 136 |
Sep 12, 2012 07:40 AM Last Post: Webman.io |