Using a Form to run an executable and refresh a screen

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Thompsonsco
Forum Newbie
Posts: 4
Joined: Fri Sep 13, 2002 4:03 pm
Location: San Diego, CA

Using a Form to run an executable and refresh a screen

Post by Thompsonsco »

If someone knows how to take a page with an image on it and have a submit button pass two variables that are input from the page to an executable stored on the server, then refreshes the page when the executable has finished doing it's thing, I would be forever grateful. :mrgreen:

Thanks.
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

I don't understand... Which executable file are we talking about? You'll probably need to use COM.
Thompsonsco
Forum Newbie
Posts: 4
Joined: Fri Sep 13, 2002 4:03 pm
Location: San Diego, CA

Post by Thompsonsco »

There is a Win32 C++ script that will take the variables and move a camera, then capture a frame. The new image will over-write the existing image file on the server, so I also need the window to be refreshed.

What I know of COM is with Word and Excel, do you think it would work on a C++ compiled script?
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post by jason »

User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post by Takuma »

Oh that's cool so you can do it whthough COM... :D Can't use us exec()?
Post Reply