You are here: COM integration problems « PHP « IT news, forums, messages
COM integration problems

Posted by Jonathan Kart on 06/16/05 01:21

Hi all,

I'm trying to interface with verisign's payflow pro on windows using
the COM workaround.

This code was originally taken from an example listed with the manual
as a workaound for the fact that the php pfpro functions are not
supported on windows. It worked for some time until the server was
upgraded to windows 2003 server. Now, all calls to instantiate a COM
object return the boolean value 'true'

$pfpro_client = new COM('PFProCOMControl.PFProCOMControl.1');

// this line outputs 'true'
echo $pfpro_client;
//Connect to Verisign via COM object...
// this line gives a "call to a member function on a non object" error
$pfpro_context =
$pfpro_client->CreateContext($this->getURL(), 443,
24,"",0,"","");

I've tried other COM objects like "new
COM(InternetExplorer.Application)" and it also returns 'true'. Other
tests of the pfpro install are sucessful (asp, pfpro.exe), so i
believe the payflow config is correct. It just seems like the php com
integration is screwed up.

Any ideas?
thanks,
jon

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация