Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * @ This file is created by deZender.Net
- * @ deZender (PHP5 Decoder for Zend Encoder/SafeGuard & PhpExpress)
- *
- * @ Version : 1.1.4.0
- * @ Author : DeZender
- * @ Release on : 30.03.2012
- * @ Official site : http://DeZender.Net
- *
- */
- class db {
- var $link = null;
- function connect($database = 'blagx_marista', $server = '127.0.0.1', $new_link = true, $client_flags = 0) {
- $d = array( 'blagx_marista' => array( 'root', '123456' ) );
- $username = $d[$database][0];
- $password = $d[$database][1];
- $this->link = mysql_connect( $server, $username, $password, $new_link, $client_flags );
- mysql_select_db( $database, $this->link );
- }
- function errno() {
- return mysql_errno( $this->link );
- }
- function error() {
- return mysql_error( $this->link );
- }
- ...............................................................
- ...................................
- .............
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement