Connect the PHP webpage to the KEPSERVEREX6 to collect like data

Hi, I try to connect the PHP web-page to the Kepserverex6 to collect the like data from the gateway, how to create connection via HTTP connection to connect to the kepserverex?

Another question is, is that possible to display live graph on the PHP created web-page that used HTML, CSS, JavaScript ?