FleaIM Ajax Based Asp & Php Chat Script Community
February 06, 2012, 04:15:39 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Fleaim v1.3 development is in progress.
 
   Home   Help Search Login Register  
Poll
Question: PLEASE HELP ME HERE
answer me - 0 (0%)
answer me please - 0 (0%)
Total Voters: 0

Pages: [1]
  Print  
Author Topic: I HAVE A PROBLEM  (Read 1811 times)
dawood@nav6.org
Newbie
*
Posts: 1


View Profile Email
« on: July 13, 2009, 08:32:51 AM »

How to configure fleaim script.

my database is
<?php
// This is an example of config.php
$dbhost = "localhost";
$dbuser = "abc";
$dbpass = "abc";
$dbname = "webpoto";
// This is  connection between php & mysql
$conn = mysql_connect($dbhost,$dbuser,$dbpass) or die (mysql_error());
$myDb= mysql_select_db($dbname) or die (mysql_error());
?>

But inside fleaim script within "fuction.php", they say;


session_start();
require('db.php');
require('inc.php');
header("Content-type: text/html;charset=utf-8");
define('PreloadFriendFace',false);
define('toDay',date('Y-m-d H:i:s'));

//*************************Change the following line to yours*****************//
$DB = new db("localhost","root","","fleaim");
//*************************Change the following line to yours*****************//

function CheckLogin(){
   if($_SESSION['userid']==''||!isset($_SESSION['userid'])){
      die();
   }
}

So what should i put in $DB  Huh. change the following lines to yours. wat should be there. i have tried it but each time i try to sign in,the msn interface Loads forever,and ever. it sayz   Loading..... until forever
Logged
Smurfisevil
Newbie
*
Posts: 1


View Profile Email
« Reply #1 on: July 14, 2009, 12:07:23 PM »

Hi dawood ,
just fill in $DB = new db("localhost","root","password","fleaim"); with your normal details such as db host address, db username , ds password and db name.

I think you are having the same problem i was having and you will be glad to hear that the solution is easy. Alter <? to <?php on every php file and thats it  Cheesy. I think there is one file missing ?> so you might want to keep an eye out for that. I think this is a problem with WAMP hosting (windows) and not with LAMP hosting (linux).

I’ll have to test this theory out some time on a linux machine, but i hope i solved your problem  Grin.
Logged
eusha
Newbie
*
Posts: 6


View Profile Email
« Reply #2 on: July 17, 2009, 03:38:01 AM »

The Solution Is Also in My Topic...

" Unable To Setup The Database ?? "
« Last Edit: July 17, 2009, 06:45:58 PM by eusha » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!