[ Thanks to shantanu for this link.
“This is a basic PHP script to check replication status of
single or multiple MySQL servers. You have to update variables in
the script to run in browser like user, password, ip of server
“Here is the script code.”