Wildcard Domain
Hi, i've 2 domain parked in a Cpanel.
Domain A acts as a form submission .
Domain B acts as a product page for affiliate.
Scenario : When user register the form at Domain A generates affiliate link for Domain B [I know its possible with wildcard subdomain,but how?]
I'm using this PHP code to generate the form.
))
{
if(isset($_POST['cid">,$_POST['gid">))
{
$cid = $_POST['cid">;
$gid = $_POST['gid">;
$new_link = "domainb.com/ref=".$cid.$gid;
}
}
?>
Is there any help i can get from here?
Thanks in advance.
-
Hello :) Could you elaborate a little more on what you are attempting to accomplish? For instance, what is the purpose of wildcard subdomains? Thank you. 0
Please sign in to leave a comment.
Comments
1 comment