HelloWorld example with PHP & PDO
// A simple web site in Cloud9 that runs through Apache
// Press the ‘Run’ button on the top to start the web server,
// then click the URL that is emitted to the Output tab of the console
echo ‘Tutorial using PHP and PDO’;
//variables to establish connection
$server = getenv(‘IP’);
$pass = “”;
$user = getenv(‘C9_USER’);
$db = “c9”;