ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader

Error!

Author Message
aytek9922



Joined: 05 Jul 2014
Posts: 1

PostPosted: Sat Jul 05, 2014 2:36 pm    Post subject: Error! Reply with quote

Hi,
I would encode the following code.
22 gives error on line: Fatal error: Class '[obfuscated]' not found in /home/domain.com/public_html/test/index.php on line 22

---->>$db = new PDO($dsn, $user, $password);

How do I resolve this error.

<?php
function isim($veri){
return $veri;
}

echo "Deneme ";
echo isim("ahmet");

$mysql_ip = "localhost";
$mysql_kadi = "test";
$mysql_sifre = "1234";
$mysql_veritabani = "test";


$dsn = 'mysql:host='.$mysql_ip.'; dbname='.$mysql_veritabani.'';
$user = $mysql_kadi;
$password = $mysql_sifre;


try {

$db = new PDO($dsn, $user, $password);
$db->query("SET NAMES 'utf8'");
$db->query("SET CHARACTER SET 'utf8'");
$db->query("SET COLLATION_CONNECTION = 'utf8_turkish_ci'");
setlocale(LC_ALL, 'tr_TR.UTF-8', 'tr_TR', 'tr', 'turkish');


} catch (PDOException $e) {
echo 'Bağlantı Hatası: ' . $e->getMessage();
}


?>
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Sat Jul 05, 2014 3:51 pm    Post subject: Reply with quote

The obfuscation exclusion list may be required here. Please don't hesitate to create a support ticket in our Helpdesk if you need further guidance on this.
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum