COM server in python and php client?

Person X

New member
hi there , i have created a python DB class and registered it as a COM server,then created a COM object from python itself as a test and it works fine...but the problem occurs when i create a COM object in php :

//using COM db server implemented in python
$obj = new COM("PythonMySQL.test") or die("error creating the COM object!!");
$obj->connect('localhost','root','','test');
$obj->add_data('eeeeeeee',3434);

nothing appears at the browser...do you have any idea whats the problem..i converted the parameters passed to strings and used lists and tuples only to return data from python methods...
thanks alot.
 
Back
Top