File size: 1.13Kb
<?php
#[-------------------------------------------]
#[=] [=]
#[=] Wap - Голосования [=]
#[=] [=]
#[=] Версия - 2.0 [=]
#[=] Автор - chezz [=]
#[=] Мыло - [email protected] [=]
#[=] ICQ - 29-48-48 [=]
#[=] [=]
#[-------------------------------------------]
if(!defined("VOTES")) die ("Fuck You!!");
require_once ("config.php");
$connect=mysql_connect ("$MySQL_Hostname", "$MySQL_Username", "$MySQL_Password") or die ("<wml>
<card id=\"error\" title=\"error\">
<do type=\"prev\" label=\"Back\"><prev/></do><p align=\"center\">Can not connect to MySQL<br/>".mysql_error()."</p>
</card>
</wml>");///Подключаемся к mysql
mysql_select_db ("$MySQLDatabasename") or die ("<wml>
<card id=\"error\" title=\"error\">
<do type=\"prev\" label=\"Back\"><prev/></do><p align=\"center\">error select the database...<br/>".mysql_error()."</p>
</card>
</wml>");///Выбираем базу
?>