micmania1 Posted August 5, 2009 Share Posted August 5, 2009 Hi, I'm trying to learn how to user Crystal Reports with PHP but i'm having trouble getting started. Here's some code i pinched off the net: <?php $crapp = new COM ("CrystalRuntime.Application") or die ("Error onload"); ?> My Error: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `CrystalRuntime.Application': The specified module could not be found. ' in D:\xampp\htdocs\crystal.php:2 Stack trace: #0 D:\xampp\htdocs\crystal.php(2): com->com('CrystalRuntime....') #1 {main} thrown in D:\xampp\htdocs\crystal.php on line 2 Does anybody know what module i'm missing or if i'm doing something wrong? Do I need crystal on the server or the users computer? I've never worked with COM before. The version of crystal we use is 9. Thank you for reading. Quote Link to comment https://forums.phpfreaks.com/topic/168958-crystal-reports-and-com/ Share on other sites More sharing options...
Adam Posted August 5, 2009 Share Posted August 5, 2009 You'd need it installed on the server. PHP is a server-side programming language, which means it can only communicate with the server and not the user. Quote Link to comment https://forums.phpfreaks.com/topic/168958-crystal-reports-and-com/#findComment-891406 Share on other sites More sharing options...
ysabelafuentes Posted June 27, 2012 Share Posted June 27, 2012 Hello adam! you can be so more especific, why need it installed on the server? and what server? culd you write the step to conect php whit CR thanks! Quote Link to comment https://forums.phpfreaks.com/topic/168958-crystal-reports-and-com/#findComment-1357446 Share on other sites More sharing options...
Pikachu2000 Posted June 27, 2012 Share Posted June 27, 2012 This thread is nearly 3 years old. Please post your question, along with the specific details, in a new thread. Quote Link to comment https://forums.phpfreaks.com/topic/168958-crystal-reports-and-com/#findComment-1357447 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.