Does any one know there have any way I can share a information (it could be cookie, session, variable…) within 2 difference domains but in the same server?
Example:
I have 2 domain inside the same server, one is called exmaple.com.au and the other one is friendly.com.au. Does there any way that I can share a variable for both domains? (let say $valiable = ‘exampleLogin’)
Not with cookies or sessions (as I understand them).
You could store stuff in files or a database if both sites have access.
Alternatively, you may want to look into cURL.