SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Apr 2002
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question php.ini file for access control script

    Hi there!!!!!!!
    Has anyone installed the access control script by Kevin Yanks? The script has 2 include files. However when I sign up it says the database is unavailable.I can connect to my database using a similar script and I have created the user table in my database.Is the problem with the path in the php.ini file. How do I set this file up and where do I store it? Or is the problem with the db.php script? Please help anyone who has got the access control setup to work.

  2. #2
    blonde.... Sarah's Avatar
    Join Date
    Jul 2001
    Location
    Berkshire, UK
    Posts
    7,442
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi Guy

    In the signup.php script you should have this line:

    PHP Code:
    dbConnect('crx_test'); 
    where crx_test is the name of your database you will need to change this to suit your dB name

    This sounds like your problem area..

    Sarah
    Regular user


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •