I am pretty new to php.
I have two websites: Site1 has a code that counts the characters in the domain name. So I have:
echo count($letters);
This works great. What I need is to take this variable and echo it on Site2. How can I do that? Site2 is on a different server.
very easy and straight forward solution is
$content = file_get_contents('http://ww.google.com');
echo $content;
and replace google link with your other server link