Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Re: Business One PHP access

$
0
0

Hi Gaurav,

Did you ever try to connect SAP with PHP?

I tried to do that but I'm getting result as -8037 those are the connection codes I used

 

<?php

$mycomp = new COM("SAPbobsCOM.Company") or die("Cannot start SBO");

$mycomp->DBServerType =6;

$mycomp->Server="192.168.0.103";

$mycomp->LicenseServer = "192.168.0.103:30000";

$mycomp->DbUserName = "sa";

$mycomp->DbPassword = "****";

$mycomp->UserName = "manager";

$mycomp->Password = "****";

$mycomp->CompanyDB = "SBODEMOUS";

echo $mycomp->Connect();

?>

 

I'm using SQL server 2008 and Xampp for PHP file,

 

If it's possible please help me to check in above codes.


Viewing all articles
Browse latest Browse all 8581

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>