PWP Extension Library interface and source code, EXT_LIB_SRC

Source: Internet
Author: User
QQ group inside the new upload a file Ext_inifiles_ext_lib_demo.rar, is the ext_lib of the demo source code, implemented a Inifile class in the script call.

1. How to use Ext_lib

Used in scripts:

Uses inifiles;

var ini:inifile;
Begin
Str_path: = Server.MapPath ('/config.ini ');

INI: = Open_inifile (Pansichar (Str_path));
Ini.writestring (' System ', ' xxxx ', ' xxx ');

Str_b: = ini.readstring (' System ', ' xxxx ', ');

Write (Str_b);

INI: = nil; You can also not call this, the script will automatically release the object.

End.

---------------------------------------------------
2. How to enable Ext_lib

After compiling the DLL, copy the DLL into the pwp\ext_lib\ below.
Modify the [Ext_lib] section inside the Pwp\config.ini file,
Add Ext_inifiles=1, then restart Ux_pax, and you can see the load ext_lib:ext_inifiles ... ok.

The above describes the PWP extension library interface and source code, EXT_LIB_SRC, including the aspects of the content, I hope that the PHP tutorial interested in a friend helpful.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.