Work in progress - Inspired by http://snipcart.com/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // A simple PHP script demonstrating how to connect to MySQL. | |
| // 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. | |
| $servername = getenv('IP'); | |
| $username = getenv('C9_USER'); | |
| $password = ""; | |
| $database = "c9"; | |
| $dbport = 3306; |