I need a small php script that will simply get a filled value from an input field and add it to the destination url as a subdomain,
Example: if the destination url is http://some.domain.com when u fill John in the field it will redirect to http://john.domain.com after u submit
I’m using it on this WordPress site: http://elevatedbusinesssystem.com/tour/ If you go to the site you’ll see the submit form where the person will enter their username which will be the subdomain for where the site will get redirected to. After a person enters their username it will go to a site like this
http://wealthcreation.mymarketingtour.com/tour/home/ -The “wealthcreation” part of that site is what will be changing.
