PHP: palo_root_list_databases

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • RE: PHP: palo_root_list_databases

    How you call palo_root_list_databases?
    Here is small example that works for me well:

    PHP Source Code

    1. $dbconn="LOCALHOST"; //name of connection
    2. //define database ip adress, port, user name, password
    3. ......................................................
    4. $dbcnx=palo_register_server($dbconn, $dblocation, $dbport, $dbuser, $dbpasswd); //connect to Palo
    5. //check $dbcnx
    6. ......................................................
    7. $databases=palo_root_list_databases($dbconn); //list of databases

    Try to download and use latest version of SDK.

    The post was edited 9 times, last by crop ().