【php开源代码栏目提醒】:网学会员,鉴于大家对php开源代码十分关注,论文会员在此为大家搜集整理了“connVoteSystem.php”一文,供大家参考学习!
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_connVoteSystem = "localhost";
$database_connVoteSystem = "votesystem";
$username_connVoteSystem = "root";
$password_connVoteSystem = "";
$connVoteSystem = my
sql_pconnect($hostname_connVoteSystem, $username_connVoteSystem,$pass
word_connVoteSystem) or die(
mysql_error());
mysql_query("SET NAMES 'gb2312'",$connVoteSystem);
?>