#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Indonesia
    Posts
    87
    Rep Power
    15
    Would anyone please tell me where can I find reference in using PHPLIB.

    Setting it and also making some scripts using functions in it.

    Thanks in advance.
    See ya !!!



    ------------------
    CyberOsc
    sphmjf_oscario@gurlmail.com

    ** It's the world of Oscario **
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2000
    Posts
    669
    Rep Power
    15
    There really isn't much in the way of reference for it, you really just need to get into it and play around with it. Basically it is a set of pre-built functions to use normally I only use the session and mysql class for my sites. In order to set it up you need to a couple things. place the php folder of the library in your web docs root. Then take the local.inc and prepend.php3 files and place them in a folder within a sites directory. Go into the local.inc file and change the values of the variables to match your site and and in the prepend.php3 change the paths around to match your site. There should be a databvse definition file for creating the necessary tables in the distro. So create the tables and then you can start using it. basically on ap ge you want to use it include("pathto/prepend.php3");
    and for instance to use the db functions you would do:
    $db = new DB;
    Sample functions
    $db->query("SELECT * from tablename");
    while ($db->next_record()) {
    print $db->f(username);
    }
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2000
    Location
    Mankato,MN,US
    Posts
    4
    Rep Power
    0
    I started using PHPLib about 3 weeks ago and have been visiting http://phplib.netuse.de
    frequently. I agree about playing around with it. The documentation on certain classes isn't the best. I have been playing with it for many hours and am just now finally understanding it.
    Good luck

Similar Threads

  1. Replies: 0
    Last Post: December 17th, 2003, 09:15 AM
  2. Replies: 3
    Last Post: September 22nd, 2003, 11:40 AM
  3. Access to MySQL using C in QNX
    By Ramli_Xu in forum MySQL Help
    Replies: 0
    Last Post: August 17th, 2003, 09:26 PM
  4. undefined reference using a global variable in a function
    By infamous41md in forum C Programming
    Replies: 14
    Last Post: May 9th, 2003, 07:31 AM
  5. passing a result set by reference
    By jkrew_devshed in forum PHP Development
    Replies: 1
    Last Post: February 26th, 2003, 05:26 PM

IMN logo majestic logo threadwatch logo seochat tools logo