Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. run .exe through php

run .exe through php

Scheduled Pinned Locked Moved Web Development
questionphptutorial
13 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H hiral_shah

    Hi there, Can you tell me that how can I run .exe file through php. If you have any example please tell me. Thanks in advance.

    -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

    B Offline
    B Offline
    Bradml
    wrote on last edited by
    #4

    Is the executable on the server or the client side?


    Brad Australian - Me on "Public interest" If you actually read this let me know.

    H 1 Reply Last reply
    0
    • B Bradml

      Is the executable on the server or the client side?


      Brad Australian - Me on "Public interest" If you actually read this let me know.

      H Offline
      H Offline
      hiral_shah
      wrote on last edited by
      #5

      It's client side

      -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

      B 1 Reply Last reply
      0
      • H hiral_shah

        It's client side

        -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

        B Offline
        B Offline
        Bradml
        wrote on last edited by
        #6

        Ok well in that case PHP cannot do that, it is a server side language and therefore cannot interact with the client's machine. What is it you are trying to achieve with the execution of the executable?


        Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!

        H 1 Reply Last reply
        0
        • B Bradml

          Ok well in that case PHP cannot do that, it is a server side language and therefore cannot interact with the client's machine. What is it you are trying to achieve with the execution of the executable?


          Brad Australian - peterchen on "Who has the worst keyboard" Keyboard? Ha! I throw magnets over the RAM chips!

          H Offline
          H Offline
          hiral_shah
          wrote on last edited by
          #7

          I want to execute Advertisement exe made in flash by php.

          -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

          B 1 Reply Last reply
          0
          • H hiral_shah

            I want to execute Advertisement exe made in flash by php.

            -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

            B Offline
            B Offline
            Bradml
            wrote on last edited by
            #8

            Can you quickly run me through the hole process so i can orient myself?


            Brad Australian - unknown PHP Developer on "Job Prospect" Requirement: * Experience working with XML, XSL, XPath Comment: and other things starting with X.

            H 1 Reply Last reply
            0
            • B Bradml

              Can you quickly run me through the hole process so i can orient myself?


              Brad Australian - unknown PHP Developer on "Job Prospect" Requirement: * Experience working with XML, XSL, XPath Comment: and other things starting with X.

              H Offline
              H Offline
              hiral_shah
              wrote on last edited by
              #9

              I am creating a website, On which I want to put an exe as an advertisement on that website. I am using php to display that page and want to put the advertisement on that page by using php itself. May you know that in vb.6 there is a command "shell" to execute the application like exe, Is there anyone in php?? :confused:

              -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

              B J 3 Replies Last reply
              0
              • H hiral_shah

                I am creating a website, On which I want to put an exe as an advertisement on that website. I am using php to display that page and want to put the advertisement on that page by using php itself. May you know that in vb.6 there is a command "shell" to execute the application like exe, Is there anyone in php?? :confused:

                -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

                B Offline
                B Offline
                Bradml
                wrote on last edited by
                #10

                vb and PHP are entirely different bags of chips. Can you email me a copy of the "exe" you have?


                Brad Australian - Captain See Sharp on "Religion" any half intelligent person can come to the conclusion that pink unicorns do not exist.

                1 Reply Last reply
                0
                • H hiral_shah

                  I am creating a website, On which I want to put an exe as an advertisement on that website. I am using php to display that page and want to put the advertisement on that page by using php itself. May you know that in vb.6 there is a command "shell" to execute the application like exe, Is there anyone in php?? :confused:

                  -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

                  J Offline
                  J Offline
                  jpmcc
                  wrote on last edited by
                  #11

                  Hi, If the flash animation is supposed to appear in the webpage, wouldn't it make more sense to have it as an SWF file, rather than an exe file, and just embed it in the page? That way you can have PHP construct the page as normal including the necessary markup for the animation. Here is a good discussion of methods for embedding flash animations in pages: http://alistapart.com/articles/flashsatay[^]. The target of the article being to stick to standards, but I think it gives some good background. This just be a case of having the flash advert saved as an SWF file. If the flash advert is an exe file, I'm sure there are tools about to convert it. If you created the flash advert, can you not save it as an SWF file? If the advert was supplied by a 3rd party, can they not re-supply as an SWF file? This is all fine unless I'm missing something, oh, and the targeted client browsers don't have a flash plugin installed. Cheers, Jason. -- modified at 5:50 Friday 23rd March, 2007

                  1 Reply Last reply
                  0
                  • H hiral_shah

                    I am creating a website, On which I want to put an exe as an advertisement on that website. I am using php to display that page and want to put the advertisement on that page by using php itself. May you know that in vb.6 there is a command "shell" to execute the application like exe, Is there anyone in php?? :confused:

                    -------------------------------------------------------------------------------------------------- Hiral Shah India If you think that my question is good enough and can be helpful for other then don't forget to vote. :)

                    B Offline
                    B Offline
                    Bradml
                    wrote on last edited by
                    #12

                    Yes jmpcc has the right answer. I was not aware that flash's could be compiled into executables. But anyway the standard approach is to use the swf file.


                    Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                    J 1 Reply Last reply
                    0
                    • B Bradml

                      Yes jmpcc has the right answer. I was not aware that flash's could be compiled into executables. But anyway the standard approach is to use the swf file.


                      Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                      J Offline
                      J Offline
                      jpmcc
                      wrote on last edited by
                      #13

                      Sorry, took my eye off the ball.

                      Bradml wrote:

                      I was not aware that flash's could be compiled into executables.

                      Flash as a standalone exe is just the flash movie rolled up with a standalone flash player (I'm pretty sure, not being a flash aficionado myself). Cheers, Jason.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups