Connecting PHP directly to SAP Business One
I want to connect PHP to SAP Business One 9.1 so that it can read and write data. I know how to connect PHP with SAP B1 database but it is not recommended i.e. why I want to connect PHP to SAP B1 however it won’t be a direct connection.
Below is my code, however it returns “0”.
Server="192.168.1.321";
$mycomp->LicenseServer = "192.168.1.321:30000";
$mycomp->DbUserName = "username";
$mycomp->DbPassword = "****";
$mycomp->UserName = "manager";
$mycomp->Password = "****";
?>