cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MrCount
Engaged Sweeper III
Hi,

as by now it is not possible to user custom-fields as parameter in custom actions (like http://my-php-webserver/get_asset_custom.php?field1={custom01}&field2={custom05}), I would like to do a database query through a PHP-script.

How do I connect to the database?
username?
password?


The custom action would look like this:
http://my-php-webserver/get_asset_custom.php?asset={assetid}

Inside the PHP-script the assetid is then queried on the lansweeper database (on the lansweeper-server) and the custom-fields are returned.
0 REPLIES 0