Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy Calling a COM object through PHP

    I am able to call a COM object through PHP in the server system.
    PHP Code:
    $iim1 = new COM("iMacros");
    $s $iim1->iimInit("-fx");
    '
    '
    '
    '

    $s $iim1->iimPlay("test.iim"); 
    But when i try call the COM object from Client system it get's Invoked in server system only.. I want to invoke the COM object in client system. Can someone help me in fixing this problem.

  • #2
    New Coder
    Join Date
    Jun 2008
    Posts
    62
    Thanks
    0
    Thanked 12 Times in 12 Posts
    Not possible. PHP is a Serverlanguage. What exactly do you want to do?
    Take a look at http://php.net/manual/de/class.com.php.

  • #3
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    But it works on server system

    I want to start Imacros.exe on the client system itself instead of starting it on the server system.

    According to my present coding.. whenever a request to start the imacros.exe is given from Client system, Imacros.exe gets started on the server system.

    Coding PHP coding for starting Imacros from this link
    http://wiki.imacros.net/PHP


    How can i make it run on the client system??

  • #4
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Quote Originally Posted by ejockin View Post
    I want to start Imacros.exe on the client system itself instead of starting it on the server system.

    According to my present coding.. whenever a request to start the imacros.exe is given from Client system, Imacros.exe gets started on the server system.

    Coding PHP coding for starting Imacros from this link
    http://wiki.imacros.net/PHP


    How can i make it run on the client system??
    You can't, and for good reason.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #5
    New to the CF scene
    Join Date
    Nov 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Is it possible through JS?

    Guys is it possible through javascript??

  • #6
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,073
    Thanks
    11
    Thanked 98 Times in 96 Posts
    imagine the mahem if it were possible and then you can see why its not

    You could install a daemon on the client which your server can connect to and call the service or you could potentially use signed activeX though I know nothing about how to go about that.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • Users who have thanked firepages for this post:

    ejockin (11-14-2012)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •