DB Connection | 
 
    Post Reply  
   | 
  
| Author | |
   
   David Kittell  
   
   Guest Group  
    | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: DB ConnectionPosted: 13 July 2004 at 3:03pm  | 
 
| 
   
    Going on a post similar to C.Dargel I too am having a problem with the db_connect file but the error I get is "DB Error: extension not found" when I try to get in.  require_once('DB.php'); My first question is am I supposed to have the file DB.php because I didn't see it in the zip file. Is there something wrong with the coding of this page?  | 
 |
![]()  | 
 |
   
   David Kittell  
   
   Guest Group  
    | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 13 July 2004 at 3:23pm | 
 
| 
   
    When using my usual way of connecting to my DB using the code below I get this error: Fatal error: Call to a member function on a non-object in /homepages/17/d98859112/htdocs/mail-temp/authenticate.php on line 44 
 $databaseName = $database;  | 
 |
![]()  | 
 |
   
   Desperado  
   
   Senior Member  
   Joined: 27 January 2005 Location: United States Status: Offline Points: 1143  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 13 July 2004 at 10:59pm | 
 
| 
   
    David, I have never really worked with PHP ... only asp but I will try to look at the code if no-one has a "ready" answer. Dan S.  | 
 |
![]()  | 
 |
   
   David Kittell  
   
   Guest Group  
    | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 July 2004 at 10:27am | 
 
| 
   
    
   I used to be in the same boat Dan but then I got a managed Unix Server and didn't have the choice but to learn PHP. Any help you can provide would be great.
    
   
   | 
 |
![]()  | 
 |
   
   Sean  
   
   Groupie  
   Joined: 21 February 2005 Location: United States Status: Offline Points: 81  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 July 2004 at 1:36pm | 
 
| 
   
    DB.php, is part of the PHP distribution. it is included with your install fo PHP. Now the questions are... to better help me help you out: What OS?  | 
 |
![]()  | 
 |
   
   David Kittell  
   
   Guest Group  
    | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 16 July 2004 at 4:03pm | 
 
| 
   
    
   What OS? UNIX 
   
  What Version of PHP? 4.3.6 What type of Database, and version? MySQL Version 3.23.49  | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  | 
 
This page was generated in 0.363 seconds.
 
 
 
 
 
 
 Topic Options
   
 Post Options
 Thanks(0)
 

   
   