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 [url removed, login to view] when u fill John in the field it will redirect to [url removed, login to view] after u submit
I'm using it on this Wordpress site: [url removed, login to view] 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
[url removed, login to view] -The "wealthcreation" part of that site is what will be changing.