Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Launch and Exe on the users machine.
Old 04-06-2005, 11:46 AM Launch and Exe on the users machine.
DKasler's Avatar
Skilled Talker

Posts: 83
Location: Brooklyn
Trades: 0
Hey all.

Im trying to set up a gaming site with a friend of mine and we'd like to have a link that will run an exe (already installed on the users machine) with command line additions...

Like they click a link to JOIN SERVER XYZ and it runs the game and connects to said server. Is that possible? If so how could it be done?

Thanks.
DKasler is offline
Reply With Quote
View Public Profile Visit DKasler's homepage!
 
 
Register now for full access!
Old 04-06-2005, 02:31 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
hmm, i'm not sure this is actually possible.

It might be worth checking out how ActiveX controls work, as i'm sure that might have something that can help.

If not ActiveX then maybe look in Java to be able to bridge the gap between computer and server.

Also, this has been posted in the wrong place!
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 04-06-2005, 03:27 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
I think the best way would be to actually write a protocol. Protocol's like http. ftp, irc, etc are identified in links using something like this:

http://www.myserver.com/mydirectory
ftp://ftp.myserver.com/mydirectory
irc://irc.myserver.com/mychannel

You cannot force apps to be run on a user's pc unless they are have a client and have allowed that client to run when a certain protocol is requested. I am assuming you have some kind of game or something that is going to be installed on the pc. It really comes down to a programming (windowsAPI and things) and not a web problem.

I know this is confusing but it might be better suited on a programming forum and not a web development forum.

-dk
__________________
Did I help you? If so, be nice and throw me some
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
dk01 is offline
Reply With Quote
View Public Profile
 
Old 04-06-2005, 05:00 PM
amw_drizz's Avatar
Ultra Talker

Posts: 340
Name: Jon
Location: New York
Trades: 0
its possible look at some of the game server indexing sites. they allow you to connect to said server. you best bet is probally to find one and ask nicely if they could explain how they did it!
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
amw_drizz is offline
Reply With Quote
View Public Profile Visit amw_drizz's homepage!
 
Old 04-06-2005, 05:14 PM
Skilled Talker

Posts: 62
Trades: 0
Wouldnt that be a HUGE security flaw?
I doubt it's possible on FireFox.

You could always ask them for their path to the exe, and then when they click on it it will open the exe, as it would for a jpeg or text file.
The Jasong is offline
Reply With Quote
View Public Profile
 
Old 04-06-2005, 05:36 PM
HaRRo's Avatar
SEO Expert

Latest Blog Post:
The Large Hadron Collider
Posts: 522
Location: United Kingdom
Trades: 0
why not just make your software run an extension like .ext like winamp does , then when the user downloads it your software will know what to do with it
__________________

Please login or register to view this content. Registration is FREE

What are you waiting for? Easy $$$ anyone can make a fortune!
CLICK CLICK CLICK CLICK CLICK CLICK CLICK CLICK CLICK
HaRRo is offline
Reply With Quote
View Public Profile Visit HaRRo's homepage!
 
Old 04-06-2005, 07:19 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
I agree with HaRRo, just add something on to your game that will access the internet - that way you dont have to worry about it.

Like the Valve System, that's pretty clever really. This isn't really a PHP related post. You should be looking at coding
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 04-06-2005, 11:08 PM
Extreme Talker

Posts: 171
Trades: 0
It won't be possible. With the security setting on Internet Explorer these days and Norton Antivirus. Even if it was possible. There would be many road blocks.
mohamoud is offline
Reply With Quote
View Public Profile
 
Old 04-07-2005, 01:10 AM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
It is possible and I'll briefly explain how....

First, you must make sure that firewalls do not get in the way. Then in your client side app create a listening socket and make sure its a service (running all the time). Now all you have to do is make that link trigger some php to send a socket response to the client side app (IP needs to be known for this obviously). When the client side app responds succesfully you can send your packets of data to be interpretted by the client side app, i.e. launch the game.
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Launch and Exe on the users machine.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.65809 seconds with 12 queries