Simple affiliate wild card sub-domain php coding needed
We already have clients registered with us with their affilaite ID in numeric format. And use the following url format :
[url removed, login to view]
We already running affiliate system for our clients, like to give them affiliate id in sub-domain with text format,
like "[url removed, login to view]" or "[url removed, login to view]"
You have to create single page on which client can choose "affiliate sub-domain", upload "logo" and modify "header" and "footer".
Affiliate can choose sub-domain.
- client can not change the sub-domain, once it get activated.
- There will be some reserverd words that client can not choose as "affiliate sub-domain"(like help, support, client etc.)
Affiliate can upload logo
- specific size
- and format (gif, jpg, or jpeg).
- or he can choose default logo option
Affiliate can modify header & footer HTML coding
- There will some stop words that clients can not enter like (insert, select, create etc) to stop hacking.
- or he can choose default "header & footer coding" option
We will add 4 fields in our already existing clients table