Location: PHPKode > projects > Kudos > nirap/includes/kudos.php
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_kudos = "localhost";
$database_kudos = "nirap";
$username_kudos = "webuser";
$password_kudos = "kudos987adm";
$kudos = mysql_pconnect($hostname_kudos, $username_kudos, $password_kudos);
if (!$kudos) {
	 	header('Location: index_mysql.php');
		} 
mysql_select_db($database_kudos, $kudos);

/*Change the information in the following three lines only*/
$ldaphost = "localhost"; //LDAP Server Address
$ldapport = 389; //LDAP Server Communication Port; 389 is Default--only change if you set a custom port
$baseDN = "ou=People,dc=localhost,dc=localdomain"; //LDAP Base DN; modify to match your server settings
/*DO NOT CHANGE THE NEXT TWO LINES*/
?>
Return current item: Kudos