PHP learning notes (5) ---- PHPLIB introduction and installation [original]

xiaoxiao2021-03-06  105

With the application and promotion of PHP, many developers and many enthusiasts have developed a lot of PHP libraries on the basis of PHP. These libraries include a large number of classes, methods, variables, and methods to handle complex Web. Resources and powerful features greatly simplify the reusability of programming and increased code. Among them, PhPlib is a very excellent product in these libraries, which is particularly valued and practical in database access, database driver, and access authentication and template. It is quite suitable for developing large and medium-sized programs. Using phpo can be very easy to develop procedures cross-hardware, operating system platforms, and databases, many of whom have been developed by phplib. For example, a famous phpslash is an example. Due to the support of object-oriented libraries and classes, database drivers are completed by classes, so it is basically not necessary to consider what databases and how to drive the database, only need to understand the standard SQL language. Once PHPSLASH is available, it can run well, provide excellent user authentication. Even under php3 that does not support session, you can use the session. And it can run in the NT or UNIX platform, support up to 7 databases and the program is transferred from one platform or system to another platform or system, and the program line itself does not need to be changed. PHPLIB contains a lot of functions that provide a number of functions. As long as you master the basic categories and methods, you can do that you can do almost no additional advanced classes. Here, you will start to talk about the installation of phplib. Download PHPLIB's latest package, extract, put the contents of the phplib directory in a safe place, such as G: / phplib. Add the path name of this directory to the include_path = "in the php.ini's Include key field.; G: / phplib / php; c: / php / incdude" and then find the auto_prepend_file keyword change: auto_prepend_file = prepend.php After restarting the machine, check with a phpinfo () function, see the value in the include_path and auto_prepend_file is what we set, is it, the installation is OK. About phplib's use, because you are still a vegetable bird, you are embarrassed, wait until you have learned almost, come and publish your own opinion, 嘿嘿 ~~

转载请注明原文地址:https://www.9cbs.com/read-96391.html

New Post(0)