<?php
$host = getenv('HTTP_BAE_ENV_ADDR_SQL_IP'); $port = getenv('HTTP_BAE_ENV_ADDR_SQL_PORT'); $user = getenv('HTTP_BAE_ENV_AK'); $pwd = getenv('HTTP_BAE_ENV_SK'); $dsn = "mysql:host=$host;port=$port;dbname=test"; $link = new PDO($dsn, $user,$pwd); $link->exec("insert into person values(17,'helloworld16')"); echo "Hello, BAE world!"; var_dump(gd_info()); phpinfo();
?>