Skip to content

Instantly share code, notes, and snippets.

🎯
(1.01)^{365}

Đặng Xuân Cảnh uncelvel

🎯
(1.01)^{365}
Block or report user

Report or block uncelvel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@chales
chales / db-connect-test.php
Last active Jun 18, 2019
Script for a quick PHP MySQL DB connection test.
View db-connect-test.php
<?php
# Fill our vars and run on cli
# $ php -f db-connect-test.php
$dbname = 'name';
$dbuser = 'user';
$dbpass = 'pass';
$dbhost = 'host';
$connect = mysql_connect($dbhost, $dbuser, $dbpass) or die("Unable to Connect to '$dbhost'");
You can’t perform that action at this time.